From 478ce8afb467d59eb3dce5ec4a9e9446b134aecf Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Sat, 16 Jan 2016 16:16:56 +0100 Subject: 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 --- tests/UtilsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/UtilsTest.php') diff --git a/tests/UtilsTest.php b/tests/UtilsTest.php index 869a9695..f3bb556e 100644 --- a/tests/UtilsTest.php +++ b/tests/UtilsTest.php @@ -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'; /** -- cgit v1.2.3