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
<Quantum Fabric install directory>/deployments/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 workspaceService.log
, follow these steps:
- Go to
, search for key<mfconsoledb -> property table
.LOG_LEVEL
- Change the log level to the required value.
To change log levels for authService.log
, follow these steps:
- Go to
<Quantum Fabric install directory>/deployments/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 middleware logs
, follow these steps:
- Go to
admin db > server_configuration table
, and search for<Kony Fabric 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 keyKONY_METRICS_LOG_LEVEL
. - Change the log level to the required value.
To change log levels for Engagement Services logs
, follow these steps:
- Go to
<Quantum Fabric install directory>/deployments/kpns.war/WEB-INF/
and open thekms-log4j2.xml
file. - Change the log level to the required value.
- Restart the server.
For more details on Logs in Quantum Fabric, refer to Basecamp.
Log-related Options in Fabric Databases
The locations of log-related options in the various Fabric databases are as follows:
- Console
mfconsoledb
→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.