changed default time format to ISO8601

remotes/origin/stable6
Bjoern Schiessle 11 years ago
parent 3cf4c46c43
commit c1e5725db9
  1. 2
      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);

Loading…
Cancel
Save