Version: latest
Logging
Zeebe uses Log4j2 framework for logging. In the distribution and the docker image you can find the default log configuration file in config/log4j2.xml
.
#
Google Stackdriver (JSON) loggingTo enable Google Stackdriver compatible JSON logging you can set the environment variable ZEEBE_LOG_APPENDER=Stackdriver
before starting Zeebe.
#
Default logging configurationconfig/log4j2.xml
(applied by default)
#
Change log level dynamicallyZeebe brokers expose a Spring Boot Actuators web endpoint
for configuring loggers dynamically.
To change the log level of a logger make a POST
request to the /actuator/loggers/{logger.name}
endpoint as shown in the example below.
Change io.zeebe
to the required logger name and debug
to required log level.