1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-25 14:42:52 +00:00

uniform log date format (#447)

This commit is contained in:
Xiangyue Cai
2021-02-05 15:30:15 +08:00
committed by GitHub
parent 69d9e53bac
commit 31c1f3f7f3

View File

@@ -61,7 +61,7 @@ seafile_log (const gchar *log_domain, GLogLevelFlags log_level,
t = time(NULL);
tm = localtime(&t);
len = strftime (buf, 1024, "[%x %X] ", tm);
len = strftime (buf, 1024, "%Y-%m-%d %H:%M:%S ", tm);
g_return_if_fail (len < 1024);
if (logfp) {
fputs (buf, logfp);