sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

[Sugesstion] Use Standard Timestamp Format in Logs

Open Ryananana opened this issue 1 year ago • 1 comments

The timestamp format currently used will cause timestamp errors when reading logs with lnav Snipaste_2023-12-27_19-54-54 While this is not a problem, it can cause inconvenience in analyzing the logs. I recommend using a standard timestamp format like iso8601.

Ryananana avatar Dec 27 '23 12:12 Ryananana

https://github.com/SagerNet/sing-box/blob/88fad9fdadb179511af440a8b8894a2df3e56216/log/log.go#L50C22-L50C47 change to "2006-01-02T15:04:05-0700" to satisfy ISO8601 Timestamp Format.

Ryananana avatar Jan 01 '24 16:01 Ryananana

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Mar 02 '24 01:03 github-actions[bot]