mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 04:12:40 +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) {
|
if (n != size) {
|
||||||
ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0,
|
ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0,
|
||||||
ngx_read_file_n " read only %z of %O from file",
|
ngx_read_file_n " read only %z of %O from \"%s\"",
|
||||||
n, size);
|
n, size, src->file->name.data);
|
||||||
if (n == 0) {
|
if (n == 0) {
|
||||||
return NGX_ERROR;
|
return NGX_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user