Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormwithheld <796986+mwithheld@users.noreply.github.com>2021-07-18 23:36:10 +0300
committerGitHub <noreply@github.com>2021-07-18 23:36:10 +0300
commitaf97af61ef7cdd880269bc2d4660ab01215fb440 (patch)
tree3569759c625252bca680d2cb827f6005517eda15 /config
parent46b2655f4f0e4649bd3fdddc65b56c4967ea13fe (diff)
Add log handlers syslog and errorlog (#17764)
* Add log handlers syslog and errorlog Issue#9400 * Add log handlers syslog and errorlog * syslog/errorlog: fix namespace; add log.syslog.ident * syslog/errorlog: Document options * ErrorLogHandler constructor: Avoid null Avoid null in ErrorLogHandler constructor call: Use level param; default others * missing comma * fix two di definitions Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'config')
-rwxr-xr-xconfig/global.ini.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/global.ini.php b/config/global.ini.php
index 262ba7ddfe..76285efb16 100755
--- a/config/global.ini.php
+++ b/config/global.ini.php
@@ -92,7 +92,7 @@ port =
enable_logging = 0
[log]
-; possible values for log: screen, database, file
+; possible values for log: screen, database, file, errorlog, syslog
log_writers[] = screen
; log level, everything logged w/ this level or one of greater severity
@@ -105,10 +105,16 @@ log_level = WARN
; this allows you to log more information to one backend vs another.
; log_level_screen =
; log_level_file =
+; log_level_errorlog =
+; log_level_syslog =
; if configured to log in a file, log entries will be made to this file
logger_file_path = tmp/logs/matomo.log
+; if configured to log to syslog, mark them with this identifier string.
+; This acts as an easy-to-find tag in the syslog.
+logger_syslog_ident = 'matomo'
+
[Cache]
; available backends are 'file', 'array', 'null', 'redis', 'chained'
; 'array' will cache data only during one request