aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r--src/core/ngx_log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
index 6a6835802..78459e348 100644
--- a/src/core/ngx_log.c
+++ b/src/core/ngx_log.c
@@ -84,6 +84,7 @@ void ngx_log_error_core(int level, ngx_log_t *log, ngx_err_t err,
errstr[len + 1] = '\0';
fputs(errstr, stderr);
+ fflush(stderr);
}
#if !(HAVE_VARIADIC_MACROS)