[SERVER-16127] Display numeric debug log level in output Created: 13/Nov/14  Updated: 06/Dec/22  Resolved: 14/Apr/20

Status: Closed
Project: Core Server
Component/s: Diagnostics, Logging
Affects Version/s: 2.8.0-rc0
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Backlog - Security Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-37743 Include loglevel in log messages Closed
Related
is related to SERVER-4217 add log severity and component name t... Closed
Assigned Teams:
Server Security
Participants:

 Description   

Currently the log format flattens numeric levels to "D". It would be very helpful to know the number as well as the letter.



 Comments   
Comment by Andy Schwerin [ 13/Nov/14 ]

I think replacing D with the log level value would be fine.

Comment by Scott Hernandez (Inactive) [ 13/Nov/14 ]

It would helpful when communicating what log level needs to be set for someone else to see those message for example.

It is also important when reading the logs to suggest logging level changes and to check those levels.

Specifically I was thinking of debug levels for verbose logging.

Comment by Andy Schwerin [ 13/Nov/14 ]

There is only a meaningful number for the debug log levels, which all report letter D. We could replace D with the number, I suppose, but why?

Comment by Eric Milkie [ 13/Nov/14 ]

What number are you referring to? Would it be the syslog numbers? They would conflict with the debug log level numbers, and also might cause confusion since the numbers will have no relation to the verbosity level.

Generated at Thu Feb 08 03:40:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.