Different Log levels

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: Automatic log enrichment (Logs Classic) — Dynatrace Docs

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 JDK 27 Documentation - Home

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

And of course Windows would be different (in Where are event log levels defined, and how can I convert them to a humanreadable string? - Microsoft Q&A )

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.

4 Likes