docker icon indicating copy to clipboard operation
docker copied to clipboard

How to change BMP DATA's TimeZone

Open netyook opened this issue 4 years ago • 0 comments

How to change BMP DATA's TimeZone

Even though 'date' is based on KST(GMT+9). But .log is not...

 sudo docker exec -it openbmp_collector bash
root@a9321725e853:/tmp# date
Tue Sep  8 18:27:08 KST 2020
sudo docker exec openbmp_collector tail -f /var/log/openbmpd.log
2020-09-08T09:16:11.694915 | INFO     | runServer          | Initializing server
2020-09-08T09:16:12.699026 | ERROR    | event_cb           | Kafka error: Local: Broker transport failure
2020-09-08T09:16:12.699122 | ERROR    | event_cb           | Kafka error: Local: All broker connections are down
2020-09-08T09:16:12.699142 | ERROR    | event_cb           | Kafka all brokers down: Local: All broker connections are down
2020-09-08T09:16:12.699155 | INFO     | runServer          | Ready. Waiting for connections
2020-09-08T09:21:12.008832 | WARN     | produce            | rtr=: Not connected to Kafka, attempting to reconnect
2020-09-08T09:23:09.375669 | INFO     | runServer          | Initializing server
2020-09-08T09:23:10.479187 | INFO     | runServer          | Ready. Waiting for connections
tail: unrecognized file system type 0x794c7630 for '/var/log/openbmpd.log'. please report this to [email protected]. reverting to polling
2020-09-08T09:25:43.276744 | INFO     | runServer          | Accepted new connection; active connections = 1
2020-09-08T09:25:43.276768 | INFO     | runServer          | Client Connected => 10.118.0.19:54254, sock = 10
2020-09-08T09:25:46.381316 | INFO     | ClientThread       | Thread started to monitor BMP from router 10.118.0.19 using socket 10 buffer in bytes = 15728640
2020-09-08T09:25:46.381512 | INFO     | ReadIncomingMsg    | 10.118.0.19: Init message received with length of 86

netyook avatar Sep 08 '20 09:09 netyook