Configuring the Controller logging

You can configure the Controller logging settings by setting environment variables on the system where you installed the Controller. The following table describes the environment variable settings you can use to configure the Controller logging.

Environment variable nameDefault valueDescription

CONSOLE_OUT_FILTER_ON_MATCH

deny

Specifies the threshold filter for log messages that are written to the console. By default, the setting of deny specifies that the log messages are not printed to the console. The valid values for this variable are deny, neutral, and accept. For more information about these values, see the Apache Logging Services Log4j manual for configuring filters.

LOG_FILE_FILTER_ON_MATCH

neutral

Specifies the threshold filter for log file messages. By default, the setting of neutral specifies that the messages are printed to the log file. Setting this variable to deny disables logging to file.

SCANCENTRAL_LOG_LEVEL

info

Specifies the log level for OpenText ScanCentral SAST. For more information about log levels, see the Apache Logging Services Log4j website.

SCANCENTRAL_SPRING_LOG_LEVEL

warn

Specifies the log level for Spring. For more information about log levels, see the Apache Logging Services Log4j website.

SCANCENTRAL_HIBERNATE_LOG_LEVEL

warn

Specifies the log level for Hibernate. For more information about log levels, go to the Apache Logging Services Log4j website.

SCANCENTRAL_LOG_FILE_SIZE

20MB

Specifies the maximum size for the log file. If the log file reaches this size, the log file is archived and a new log file is created.

SCANCENTRAL_ARCHIVED_LOGS_NUMBER

20

Specifies the maximum number of log files that are archived before new log files start replacing the oldest log files.

SCANCENTRAL_LOGS_FOLDER

${sys:catalina.base}/logs

Specifies the location of OpenText ScanCentral SASTController log folder.

See also

Configuring the log level on the Controller

Locating log files