obmc-console: syslog handler support high precise timestamp
Add syslog_ts_high_precision configuration for syslog handler to support
syslog timestamp accurate to 100ms.
Tested:
run command
for i in {1..10}; do echo test ${i}; usleep 200000; done
high precise timestamp enabled get log as following in different seconds
```
Nov 13 16:53:41.395962 mvt19-nfd11.prod.google.com n1[20712]: test 1
Nov 13 16:53:41.567652 mvt19-nfd11.prod.google.com n1[20712]: test 2
Nov 13 16:53:41.826274 mvt19-nfd11.prod.google.com n1[20712]: test 3
Nov 13 16:53:41.998670 mvt19-nfd11.prod.google.com n1[20712]: test 4
Nov 13 16:53:42.171093 mvt19-nfd11.prod.google.com n1[20712]: test 5
Nov 13 16:53:42.429577 mvt19-nfd11.prod.google.com n1[20712]: test 6
Nov 13 16:53:42.602563 mvt19-nfd11.prod.google.com n1[20712]: test 7
Nov 13 16:53:42.774245 mvt19-nfd11.prod.google.com n1[20712]: test 8
Nov 13 16:53:43.032813 mvt19-nfd11.prod.google.com n1[20712]: test 9
Nov 13 16:53:43.207131 mvt19-nfd11.prod.google.com n1[20712]: test 10
```
w/o enable it get log as following in one second
```
Nov 13 16:53:54.875536 mvt19-nfd11.prod.google.com n2[20682]: test 1
Nov 13 16:53:54.875570 mvt19-nfd11.prod.google.com n2[20682]: test 2
Nov 13 16:53:54.875611 mvt19-nfd11.prod.google.com n2[20682]: test 3
Nov 13 16:53:54.875640 mvt19-nfd11.prod.google.com n2[20682]: test 4
Nov 13 16:53:54.875668 mvt19-nfd11.prod.google.com n2[20682]: test 5
Nov 13 16:53:54.875695 mvt19-nfd11.prod.google.com n2[20682]: test 6
Nov 13 16:53:54.875722 mvt19-nfd11.prod.google.com n2[20682]: test 7
Nov 13 16:53:54.875754 mvt19-nfd11.prod.google.com n2[20682]: test 8
Nov 13 16:53:54.875781 mvt19-nfd11.prod.google.com n2[20682]: test 9
Nov 13 16:53:54.875807 mvt19-nfd11.prod.google.com n2[20682]: test 10
```
http://fusion2/bad995d8-fbac-3e16-935c-4d16829860d0
Google-Bug-Id: 330467754
Change-Id: Id46b85ef7c60dc26942e5a5da277d1fc22b6da06
Signed-off-by: Dan Zhang <zhdaniel@google.com>
1 file changed