Logging: improve formatting to enable fail2ban parsing
Fixes #436 Modifications: - remove calls to strval() on safe data - update the date format: 'Y/m/d_H:i:s' => 'Y/m/d H:i:s' Signed-off-by: VirtualTam <virtualtam@flibidi.net>
This commit is contained in:
parent
73151d9546
commit
478ce8afb4
2 changed files with 8 additions and 3 deletions
tests
|
@ -22,7 +22,7 @@ class UtilsTest extends PHPUnit_Framework_TestCase
|
|||
protected static $testLogFile = 'tests.log';
|
||||
|
||||
// Expected log date format
|
||||
protected static $dateFormat = 'Y/m/d_H:i:s';
|
||||
protected static $dateFormat = 'Y/m/d H:i:s';
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue