-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logs: hide timestamp by default #3358
Comments
An option should be added, but it's under discussion whether to enable this option by default. To me, it should be explicitly enabled by the node user if needed, otherwise the original behaviour should be preserved. |
it's ok with controlling terminal, otherwise — no |
It's ok to print timestamp by default, if the program is intended for developers. |
|
Advanced logging with application timestamps can be output in debug mode. By default, debugging mode should be disabled. As an option, enable debugging mode depending on the application version; it will be enabled on pre-release versions. |
I would not like to receive additional timestamps when enabling debug logging. |
Level is orthogonal to format. For now I tend to think that |
If logPath is not configured -- timestamps are disabled for non-file output. Close #3358 Signed-off-by: Ekaterina Pavlova <[email protected]>
Peer disconnections are not warnings. Close #3358 Signed-off-by: Ekaterina Pavlova <[email protected]>
If tty is not a terminal -- function adds timestamp to the log output. Close #3358 Signed-off-by: Ekaterina Pavlova <[email protected]>
Only if tty is a terminal -- function adds timestamp to the log output. Close #3358 Signed-off-by: Ekaterina Pavlova <[email protected]>
Only if tty is a terminal -- function adds timestamp to the log output. Close #3358 Signed-off-by: Ekaterina Pavlova <[email protected]>
If the program is run in TTY then logger adds timestamp to its entries. Close #3358 Signed-off-by: Ekaterina Pavlova <[email protected]>
while prepending log lines with timestamp may be a good feature, it must be disabled by default, the same way as all other programs do
The text was updated successfully, but these errors were encountered: