docmain.css" /> Logging - Reflection ZFE 2.3.4

3.7 Logging

3.7.1 Locating log files

There are two log files available:

  • ReflectionZFE/sessionserver/zfe.log - the log file for the ZFE session server application.

  • ReflectionZFE/sessionserver/container.log- the log file for the container that hosts the ZFE application.

3.7.2 Configuring log rotation

You can configure log rotation by editing these values in ReflectionZFE\sessionserver\microservices\zfe\service.yml:

logging.file.max-size
logging.file.max-history

3.7.3 Setting logging levels

There are various types of logging levels you can use to produce different types of information. You can configure the logging levels supported by Log4J in ReflectionZFE\sessionserver\microservices\zfe\service.yml.

NOTE: Lines in service.yml must be indented using spaces.

Use the following format to set logging levels:

- name: logging.level.<logger>
  value: "<log level>"

Where <logger> is the name of the logger to adjust and <log level> is one of the following:

  • Trace - designates finer-grained informational events than Debug

  • Debug - designates fine-grained informational events that are most useful to debug an application.

  • Info -designates informational messages that highlight the progress of the application at coarse-grained level.

  • Warn - designates potentially harmful situations.

  • Error - designates error events that might still allow the application to continue running.

  • Fatal - designates very severe error events that will presumably lead the application to terminate.