diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-01-03 21:29:01 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-01-03 21:29:01 +0000 |
commit | b98f27d67f8c95dff11acbd8f439e598e23e1030 (patch) | |
tree | c00e850035083fea1fb9867b1677d595f09d9fbf /src | |
parent | ac487bff1ea19ea472f4ca53f040f9ab8b2d78a8 (diff) | |
download | nginx-b98f27d67f8c95dff11acbd8f439e598e23e1030.tar.gz nginx-b98f27d67f8c95dff11acbd8f439e598e23e1030.zip |
add log
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_dav_module.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index f317f08b8..d94422f32 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -759,10 +759,15 @@ overwrite_done: /* destination exists */ if (ngx_is_dir(&fi) && !slash) { + ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, + "\"%V\" could not be %Ved to collection \"%V\"", + &r->uri, &r->method_name, &dest->value); return NGX_HTTP_CONFLICT; } if (!overwrite) { + ngx_log_error(NGX_LOG_ERR, r->connection->log, NGX_EEXIST, + "\"%s\" could not be created", copy.path.data); return NGX_HTTP_PRECONDITION_FAILED; } |