How to Change Log Levels
How to Change Log Levels
Volt MX Foundry Console contains three components: portal, accounts, and workspace.
For console log files, by default log level value is set to INFO:
-
The following are the log file names for the console components:
mbaasportal.log(for mbaas portal)accountsService.log(for accounts)- and
workspaceService.log(for workspace)
-
For Identity services, the log file is
authService.log. The default log level for identity services is set toINFO: -
For Integration services, the log file is
middleware.log. The default log level for integration services is set toINFO: -
For Engagement Services, the log file is
vms.log. The default log level for Engagement Service is set toINFO:
To change log levels for mbaasportal.log, follow these steps:
- Go to
<VoltMX Foundry install directory>/deployments/mfconsole.war/WEB-INF/classes/and open theconfig.propertiesfile. - Change the log level to the required value.
- Restart the server.
To change log levels for accountsService.log, follow these steps:
- Go to
accountsdb -> accounts_configurations table, search for key VOLTMX_ACCOUNTS_LOG_LEVEL. - Change the log level to the required value.
To change log levels for workspaceService.log, follow these steps:
- Go to
<mfconsoledb -> property table, search for keyLOG_LEVEL. - Change the log level to the required value.
To change log levels for authService.log, follow these steps:
- Go to
<VoltMX Foundry install directory>/deployments/authService.war/WEB-INF/classes/and open theauthService.propertiesfile. - Change the log level to the required value.
- Redeploy the
authService.warfile
To change log levels for middleware logs, follow these steps:
- Go to
admin db > server_configuration table, and search for<VoltMX Foundry install diSERVER_LOG_LEVEL - Change the log level to the required value.
To change log levels for metrics.log, follow these steps:
- Go to
reportsdb -> metrics_configuration, search for keyVOLTMX_METRICS_LOG_LEVEL. - Change the log level to the required value.
To change log levels for Engagement Services logs, follow these steps:
- Go to
<VoltMX Foundry install directory>/deployments/vpns.war/WEB-INF/and open thevms-log4j2.xmlfile. - Change the log level to the required value.
- Restart the server.
For more details on Logs in Volt MX Foundry, refer to Volt MX Resources.