How to Change Log Levels
Quantum Fabric 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
kms.log
. The default log level for Engagement Service is set toINFO
:
To change log levels for mbaasportal.log
, follow these steps:
- Go to
<QuantumFabric_Plugins>/mfconsole.war/WEB-INF/classes/
and open theconfig.properties
file. - 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 KONY_ACCOUNTS_LOG_LEVEL. - Change the log level to the required value.
To change log levels for
, follow these steps:workspaceService.log
- Go to
, search for key<mfconsoledb
→waas_property table
.LOG_LEVEL
- Change the log level to the required value.
To change log levels for
, follow these steps:authService.log
- Go to
<<QuantumFabric_Plugins>/authService.war/WEB-INF/classes/
and open theauthService.properties
file. - Change the log level to the required value.
- Redeploy the
authService.war
file
To change log levels for
, follow these steps:middleware logs
- Go to
admin db > server_configuration table
, and search for<Quantum Fabric install diSERVER_LOG_LEVEL
- Change the log level to the required value.
To change log levels for
, follow these steps:metrics.log
- Go to
reportsdb
→metrics_configuration
, search for keyKONY_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
, follow these steps:Engagement Services logs
- Go to
<KonyFabric_Plugins>/kpns.war/WEB-INF/
and open the
file.kms-log4j2.xml
- Change the log level to the required value.
- Restart the server.
Log-related Options in Fabric Databases
The locations of log-related options in the various Fabric databases are as follows:
- Console/workspace
mfconsoledb
→waas_property
→LOG_LEVEL
- Accounts
Accountsdb
→accounts_configurations
→KONY_ACCOUNTS_LOG_LEVEL
- Auth (Identity)
Idconfigdb
→property
→LOG_OPTION
Idconfigdb
→property
→LOG_LOCATION
Idconfigdb
→property
→LOG_LEVEL
- Middleware
ADMINDB
→SERVER_CONFIGURATION
→SERVER_LOG_LEVEL
→DEBUG ADMINDB
→SERVER_CONFIGURATION
→SERVER_LOG_LOCATION
- KPNS (Engagement)
KPNSDB
→config_resources
→KONY_ENGAGEMENT_LOG_LOCATION
KPNSDB
→config_resources
→KONY_ENGAGEMENT_LOG_OPTION
KPNSDB
→config_resources
→KONY_ENGAGEMENT_LOG_LEVEL
- Metrics
REPORTSDB
→metrics_configuration
→KONY_METRICS_LOG_LEVEL
You can also configure logs from the Admin Console by using this link:
http://<host>:<port>/admin/console/logs/standardlogs.html
NOTE: Ensure that you replace the <host> and <port> values based on your Fabric Console URL.