mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-08-02 05:12:55 +00:00
Change slow log format (#58)
This commit is contained in:
parent
e889dbcb50
commit
e72c1158c8
@ -318,7 +318,7 @@ print_slow_log_if_necessary (const char *svc_name, const char *func, gsize len,
|
||||
if (intv_in_msec < slow_threshold)
|
||||
return;
|
||||
|
||||
strftime(time_buf, 64, "%Y/%m/%d:%H:%M:%S", localtime(&start->tv_sec));
|
||||
strftime(time_buf, 64, "%Y/%m/%d %H:%M:%S", localtime(&start->tv_sec));
|
||||
|
||||
pthread_mutex_lock (&slow_log_lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user