summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_app_log.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-10-01 15:06:31 +0300
committerValentin Bartenev <vbart@nginx.com>2018-10-01 15:06:31 +0300
commite51ab1b2cbb10ef5a48d67ce7f492ddca481a5b7 (patch)
tree70262523b2a82b36c76c868d79eb3a8970b2f9c8 /src/nxt_app_log.c
parentdb1e01d9924855fa52aab47fcb0e74b22a876eb1 (diff)
downloadunit-e51ab1b2cbb10ef5a48d67ce7f492ddca481a5b7.tar.gz
unit-e51ab1b2cbb10ef5a48d67ce7f492ddca481a5b7.tar.bz2
Fixed error log time caching resolution.
Thanks to 洪志道 (Hong Zhi Dao).
Diffstat (limited to 'src/nxt_app_log.c')
-rw-r--r--src/nxt_app_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_app_log.c b/src/nxt_app_log.c
index 83eac371..0ecd9aac 100644
--- a/src/nxt_app_log.c
+++ b/src/nxt_app_log.c
@@ -97,7 +97,7 @@ static nxt_time_string_t nxt_log_error_time_cache = {
"%4d/%02d/%02d %02d:%02d:%02d ",
nxt_length("1970/09/28 12:00:00 "),
NXT_THREAD_TIME_LOCAL,
- NXT_THREAD_TIME_MSEC,
+ NXT_THREAD_TIME_SEC,
};