diff --git a/lib/private/log/owncloud.php b/lib/private/log/owncloud.php index 5123ba7f17501bf981f635d8a1a021189892b944..f3b4358440991b6cbdb8151a0a27c91b7336e12a 100644 --- a/lib/private/log/owncloud.php +++ b/lib/private/log/owncloud.php @@ -50,7 +50,7 @@ class OC_Log_Owncloud { $minLevel=min(OC_Config::getValue( "loglevel", OC_Log::WARN ), OC_Log::ERROR); if($level>=$minLevel) { // default to ISO8601 - $format = OC_Config::getValue('logdateformat', 'Y-m-d H:i:s'); + $format = OC_Config::getValue('logdateformat', 'c'); $logtimezone=OC_Config::getValue( "logtimezone", 'UTC' ); try { $timezone = new DateTimeZone($logtimezone);