commit | d0df295655ea9e44cca9e4a51f5712a6d2d0fc31 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Sep 11 15:52:11 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Sep 11 15:52:11 2008 +0000 |
tree | 4f8a49f8af8cf1b4c9200455c3ee6143f7bde3c8 | |
parent | 316542508b828c787982ee0850dfde9d11238891 [diff] |
add filename to the log message
diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c index 3d5ae1d..ecb0f31 100644 --- a/src/core/ngx_output_chain.c +++ b/src/core/ngx_output_chain.c
@@ -505,8 +505,8 @@ if (n != size) { ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0, - ngx_read_file_n " read only %z of %O from file", - n, size); + ngx_read_file_n " read only %z of %O from \"%s\"", + n, size, src->file->name.data); if (n == 0) { return NGX_ERROR; }