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
<VoltMXFoundry_Plugins>/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 key`LOG_LEVEL`. - Change the log level to the required value.
To change log levels for `authService.log`, follow these steps:
- Go to
<<VoltMXFoundry_Plugins>/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.
Note: After upgrading the Metrics server to the latest version, verify that the specified log location on the Console matches with the current log location.
To change log levels for `` `Engagement Services logs` ``, follow these steps:
- Go to
<VoltMXFoundry_Plugins>/vpns.war/WEB-INF/and open the`vms-log4j2.xml`file. - Change the log level to the required value.
- Restart the server.