System log configuration
You configure the system log using the log4j.properties file, located by default in the conf directory under your Unica Platform installation. Changes to this file go into effect within 60 seconds after the file is saved.
Configuration you perform on the system log does not affect security audit reports.
Default system log settings
By default, the system log is configured as follows:
Log file name: platform.log
Log directory: Unica/Platform/logs
Log level: WARN
Number of backups: 10
Maximum size of log files: 10MB
Note the following.
If you increase the number of backups or size of the log files, verify that the machine on which the logs are stored has sufficient memory.
Setting the logging level higher than the default might affect performance.
Logging levels in the system log
The possible logging levels in the system log are as follows, in ascending order.
ERROR
WARN
INFO
DEBUG
TRACE
The higher levels include the information contained in all of the lower levels. For example, setting the level to DEBUG enables the DEBUG, INFO, WARN and ERROR traces.
If the logging level is set to DEBUG, the response messages include any SQL queries performed against the Unica Platform data store.
Logging level settings for the whole Unica Platform system
Setting logging levels for Unica Platform components
You can set the logging level in the system log for specific components of the Unica Platform. These components include:
Localization
User and group processing
Data migration
LDAP integration
Authentication (server-side processing)
The Configuration pages
Database access
Various third-party libraries (for example, ibatis)
By default, the component-level logging is turned off. To debug a specific module, remove the # character at the start of each line of the module in the log4j.properties file.
<!--
symbol at the beginning of
each <Logger> tag and -->
at the end of each <Logger> tag
of the module in the log4j.xml file.Where to find more information about log4j
You can find additional information about log4j in the following ways.
-
See comments in the log4j.properties file.
-
See http://logging.apache.org/log4j/docs/documentation.html..
-
See comments in the log4j.xml file.
-
See https://logging.apache.org/log4j/2.x/manual/configuration.html
hibernate.jdbc.log.warnings=false
in
platform_home/tools/bin/jdbc.properties file.