Core β†’ Log

AdminLog::MaxMessages

Maximum number of log messages shown in Admin interface System Log.

This setting can not be deactivated.

Default value:

400

CGILogPrefix

Specifies the text that should appear in the log file to denote a CGI script entry.

This setting can not be deactivated.

Default value:

OTRS-CGI

LogModule

Defines the log module for the system. β€œJSON” writes all messages to STDOUT in JSON format. Use this for containers. β€œFile” writes all messages in a given logfile, β€œSysLog” uses the syslog daemon of the system, e.g. syslogd.

This setting can not be deactivated.

Default value:

Kernel::System::Log::SysLog

LogModule::LogFile

If β€œfile” was selected for LogModule, a logfile must be specified. If the file doesn’t exist, it will be created by the system.

This setting can not be deactivated.

Default value:

/tmp/otrs.log

LogModule::LogFile::Date

Adds a suffix with the actual year and month to the OTRS log file. A logfile for every month will be created.

This setting can not be deactivated.

Default value:

0

LogModule::SysLog::Charset

If β€œSysLog” was selected for LogModule, the charset that should be used for logging can be specified.

This setting can not be deactivated.

Default value:

utf-8

LogModule::SysLog::Facility

If β€œSysLog” was selected for LogModule, a special log facility can be specified.

This setting can not be deactivated.

Default value:

user

MinimumLogLevel

Set the minimum log level. If you select β€˜error’, just errors are logged. With β€˜debug’ you get all logging messages. The order of log levels is: β€˜debug’, β€˜info’, β€˜notice’ and β€˜error’.

This setting can not be deactivated.

Default value:

error

Daemon::Log::AddTimeStamp

Add a timestamp string to the Daemon messages.

This setting is not active by default.

Default value:

1

Daemon::Log::DaysToKeep

Defines the number of days to keep the daemon log files.

This setting is not active by default.

Default value:

1

Daemon::Log::Debug

Enable the debug mode for the Master Daemon Process.

This setting is not active by default.

Default value:

0

Daemon::Log::JSON

Enable JSON formatted output for Daemon messages.

This setting is not active by default.

Default value:

0

Daemon::Log::RotationType

Type of daemon log rotation to use: Choose β€˜OTRS’ to let OTRS system to handle the file rotation, or choose β€˜External’ to use a 3rd party rotation mechanism (i.e. logrotate). Note: External rotation mechanism requires its own and independent configuration.

This setting can not be deactivated.

Default value:

otrs

Daemon::Log::STDERR

If enabled the daemon will redirect the standard error stream to a log file.

This setting can not be deactivated.

Default value:

0

Daemon::Log::STDOUT

If enabled the daemon will redirect the standard output stream to a log file.

This setting can not be deactivated.

Default value:

0
Scroll to Top