Logging
Management and Security Server stores logs for the MSS microservices, webapps, and other components.
Viewing log files
To view or download log files:
-
Log in to the MSS Admin Console at
https://hostname/adminconsole
. -
From the drop-down menu, click Cluster Management.
-
Click Services, and find the service of interest.
-
Click that service to view the application instances (pods) across the cluster.
-
Click and then click either
- View Recent Logs - to view a "tail" of the logs' last 500 entries in a browser window
- Download Logs - to download the entirety of all the log files
Setting log levels
The logging levels for the MSS server and for the Auth Service are set in different locations.
For the MSS server:
-
In the MSS Administrative Console, open Configure Settings - Logging.
-
For each service, set the level of logging for users' session activity and system configuration activity. You can configure the logs to
- Log errors and informational messages
- Log only errors
- or, Disable the log altogether
For the Auth Service:
-
Open Cluster Management from the MSS Administrative Console drop-down.
-
Click Services and locate
mss-auth-service
. -
Click Edit Properties.
-
Enter this Key:
authsvc.logging.level
-
Enter the Value for the level of logging you wish to track:
- ERROR - designates error events that might still allow the application to continue running.
- WARN - designates potentially harmful situations.
- INFO - designates informational messages that highlight the progress of the application at coarse-grained level.
- DEBUG - designates fine-grained informational events that are most useful to debug an application.