Logging

Locating log files

There are two log files available:

  • <install_dir>/sessionserver/zfe.log - the log file for the session server application.

  • <install_dir>/sessionserver/container.log- the log file for the container that hosts the Host Access for the Cloud application.

Configuring log rotation

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

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

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 <install_dir>\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.