mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 13:59:00 +08:00
add filename to the log message
This commit is contained in:
parent
316542508b
commit
d0df295655
@ -505,8 +505,8 @@ ngx_output_chain_copy_buf(ngx_output_chain_ctx_t *ctx)
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user