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);