Enhance syslog logging
This commit is contained in:
parent
36329f9e7e
commit
2413627de9
4 changed files with 18 additions and 2 deletions
|
@ -325,6 +325,14 @@ return [
|
|||
// Sets the logging adapter of Friendica globally (monolog, syslog, stream)
|
||||
'logger_config' => 'stream',
|
||||
|
||||
// syslog flags (Integer)
|
||||
// Sets the syslog flags in case 'logger_config' is set to 'syslog'
|
||||
'syslog_flags' => LOG_CONS | LOG_PID | LOG_ODELAY,
|
||||
|
||||
// syslog flags (Integer)
|
||||
// Sets the syslog facility in case 'logger_config' is set to 'syslog'
|
||||
'syslog_facility' => LOG_USER,
|
||||
|
||||
// maintenance_start (String)
|
||||
// Start of the window for the daily maintenance cron call.
|
||||
// The system timezone is used when no timezone is defined here.
|
||||
|
|
|
@ -45,6 +45,9 @@ return [
|
|||
'FRIENDICA_LOGFILE' => ['system', 'logfile'],
|
||||
'FRIENDICA_LOGLEVEL'=> ['system', 'loglevel'],
|
||||
'FRIENDICA_PROFILING' => ['system', 'profiler'],
|
||||
'FRIENDICA_LOGGER' => ['system', 'logger_config'],
|
||||
'FRIENDICA_SYSLOG_FLAGS' => ['system', 'syslog_flags'],
|
||||
'FRIENDICA_SYSLOG_FACILITY' => ['system', 'syslog_facility'],
|
||||
|
||||
// Caching
|
||||
'FRIENDICA_CACHE_DRIVER' => ['system', 'cache_driver'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue