Skip to content

Logger Hierarchies

Loggers are hierarchically grouped and separated by dots. For example, a logger named "com.sap.cloud.mobile" is a parent of a logger named "com.sap.cloud.mobile.foundation". This lets you apply a configuration to a collection of loggers:

  • Loggers that have a common group prefix can be configured together. This includes setting the log level.

  • By default, all loggers inherit their log level configuration from the root logger. Changing the log level at the root logger changes the log level for all loggers, while changing the log level of another logger changes the log levels of all loggers belonging to the same group.


Last update: April 14, 2021