From 31c1f3f7f3e37e6dd1c9b8063665d406415ffd55 Mon Sep 17 00:00:00 2001 From: Xiangyue Cai Date: Fri, 5 Feb 2021 15:30:15 +0800 Subject: [PATCH] uniform log date format (#447) --- common/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/log.c b/common/log.c index 5581285..564c329 100644 --- a/common/log.c +++ b/common/log.c @@ -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);