Log 'Time' field format #426
Unanswered
Mechanolatry
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, the log date format is defined here. It is local time. I think that to make it ISO compliant we should just add the timezone, like this
I'm not sure if this will break some usage (for example fail2ban) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Trying to create some dashboards from the logging and trying to understand the log field format - It appears to not be any of the standardized ISO8601, RFC822 or RFC850 formats.
Can you confirm that the datetime format in the logs is consistent - eg. The mm/dd order does not change based upon host system, the timestamp is always UTC or system local time, etc.?
Could a possible enhancement be made to allow the log format to be optionally in the widely used ISO8601 which caters for millisecond precision and removed the ambiguity for all of the above?
So glad I found this project - saved me a lot of work in trying to roll my own containerised sftp with SSH where I was limited by the functionality.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions