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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user