--- /var/www/html/core/modules/syslog/mod_syslog_file.php 2022-01-01 18:40:57.382428722 +0000
+++ /var/www/html/core/modules/syslog/mod_syslog_file_hidup.php 2022-01-01 18:41:07.315294198 +0000
@@ -173,7 +173,7 @@
$this->lastTime = $now;
}
- $message = strftime("%Y-%m-%d %H:%M:%S", time()).$delay." ".sprintf("%-7s", $logLevels[$content['level']])." ".sprintf("%-15s", $content['ip'])." ".($this->ident > 0 ?str_pad('', $this->ident, ' ') : '').$content['message'];
+ $message = date("Y-m-d H:i:s", time()).$delay." ".sprintf("%-7s", $logLevels[$content['level']])." ".sprintf("%-15s", $content['ip'])." ".($this->ident > 0 ?str_pad('', $this->ident, ' ') : '').$content['message'];
fwrite($filefd, $message."\n");
fclose($filefd);
@chmod($logfile, octdec(empty($conf->global->MAIN_UMASK) ? '0664' : $conf->global->MAIN_UMASK));