How to format log timestamp?
qibobo opened this issue · comments
qibobo commented
logger now just output timestamp, how to format the timestamp string to a human readable time string , like "2017-09-07 15:00:00 234"?
cf-gitbot commented
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/150876904
The labels on this github issue will be updated when the story is started.
Eric Malm commented
Hi, @qibobo,
There's no explicit configuration that changes lager to record the timestamp in something more human-readable, such as ISO 8601 format, but you could create a new implementation of the Sink
interface that does so.
Best,
Eric, CF Diego PM