Locating log files
There are two log files available:
<install_dir>/sessionserver/sessionserver.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
Setting logging levels
There are various types of logging levels you can use to produce different types of information. You can configure logging levels in
service.yml must be indented using spaces.
Use the following format to set logging levels:
- name: logging.level.<logger> value: "<log level>"
<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.
You must restart the session server after any changes to
Enabling Web client-to-session server logging
By default, nothing is logged to the session server. You must set the log level, following the instructions below, in order to enable this feature.
The available log levels are:
off. The default log level is
Adjusting the logging level for all Web client users
To adjust the logging level for all Web clients, add the following entry to
-name: <logger> value: "<log level>"
Use caution when increasing the logging level for all Web Client users in a production environment due to a potential increase in network traffic.
Adjusting the logging level for an individual user
There are two options for adjusting the logging level for individual users:
To temporarily adjust the logging level for a particular user’s Web client instance without requiring a session server restart, instruct the user to add the following URL parameter when loading the Web client in their browser:
To adjust the logging level for an individual user without requiring them to make changes, add the following entry to
-name: <logger value: "<log level>"
<username>is the user name of the person whose logging levels you are adjusting.
Logging based on a username requires an authentication mode that involves usernames.