cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Different Log levels

AntonioSousa
DynaMight Guru
DynaMight Guru

Log levels are no easy thing. Dynatrace even has a page where it documents how different types of log severity keys are transformed into the loglevel attribute: https://docs.dynatrace.com/docs/observe-and-explore/log-monitoring/acquire-log-data/lm-log-data-tran...

Dynatrace uses the following values for loglevel:

EMERGENCY
ERROR
ALERT
CRITICAL
SEVERE
WARN
NOTICE
INFO
DEBUG

Now, these are different from RFC 3164, which was superseded by RFC 5424, and are known as the BSD syslog Protocol:

0       Emergency: system is unusable
1       Alert: action must be taken immediately
2       Critical: critical conditions
3       Error: error conditions
4       Warning: warning conditions
5       Notice: normal but significant condition
6       Informational: informational messages
7       Debug: debug-level messages

Java has yet other levels (in https://docs.oracle.com/javase/8/docs/api/java/util/logging/Level.html😞

SEVERE (highest value)
WARNING
INFO
CONFIG
FINE
FINER
FINEST (lowest value) 

And of course Windows would be different (in https://learn.microsoft.com/en-us/answers/questions/788082/where-are-event-log-levels-defined-and-ho... )

0 Log Always
1 Only critical errors
2 All errors, includes win:Critical
3 All warnings, includes win:Error
4 All informational content, including win:Warning
5 All tracing, including previous levels

 

I have also converted from Cisco definitions, as described here: https://community.dynatrace.com/t5/Dynatrace-tips/Using-CASE-in-DPL/td-p/262365

But I believe there are many more. If you know of any page/documentation, or other log levels, please comment them below.

Antonio Sousa
0 REPLIES 0

Featured Posts