DEBUG

The most detailed log level, for values and branches that only help a developer reproducing a fault.

In more detail

Debug records cover things like which key was looked up or which path was taken. They are normally switched off in production, because leaving them on multiplies log volume and cost.

Example

{"level": "DEBUG", "event": "cache_lookup", "key": "user:42"}

Related terms

Taught in

References

Certification courses