mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 10:58:50 +03:00
Added new logger that is RFC 5424 compatible
This commit is contained in:
parent
480b7e3489
commit
2312bb52f5
2 changed files with 82 additions and 1 deletions
|
|
@ -247,7 +247,17 @@ Values:
|
|||
|
||||
'enable' => array(false, 'Enable logging'),
|
||||
|
||||
'write_on_error_only' => array(false, 'Logs entire request only if error occured (php requred)'),
|
||||
'level' => array(4, 'Log messages of set RFC 5424 section 6.2.1 Severity level and higher (0 = highest, 7 = lowest).
|
||||
0 = Emergency
|
||||
1 = Alert
|
||||
2 = Critical
|
||||
3 = Error
|
||||
4 = Warning
|
||||
5 = Notice
|
||||
6 = Informational
|
||||
7 = Debug'),
|
||||
|
||||
'write_on_error_only' => array(false, 'Logs entire request only if error occured (php required)'),
|
||||
'write_on_php_error_only' => array(false, 'Logs entire request only if php error occured'),
|
||||
'write_on_timeout_only' => array(0, 'Logs entire request only if request timeout (in seconds) occured.'),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue