diff options
author | Valentin Bartenev <vbart@nginx.com> | 2018-10-01 15:06:31 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2018-10-01 15:06:31 +0300 |
commit | e51ab1b2cbb10ef5a48d67ce7f492ddca481a5b7 (patch) | |
tree | 70262523b2a82b36c76c868d79eb3a8970b2f9c8 | |
parent | db1e01d9924855fa52aab47fcb0e74b22a876eb1 (diff) | |
download | unit-e51ab1b2cbb10ef5a48d67ce7f492ddca481a5b7.tar.gz unit-e51ab1b2cbb10ef5a48d67ce7f492ddca481a5b7.tar.bz2 |
Fixed error log time caching resolution.
Thanks to 洪志道 (Hong Zhi Dao).
-rw-r--r-- | src/nxt_app_log.c | 2 |
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, }; |