]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
log the requested file when reporting a weird problem serving a
authorJeff Trawick <trawick@apache.org>
Wed, 16 Jan 2002 21:34:32 +0000 (21:34 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 16 Jan 2002 21:34:32 +0000 (21:34 +0000)
byterange

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92870 13f79535-47bb-0310-9956-ffa450edef68

src/main/http_core.c

index a678e24a14ba5b8170cbb8d6dda7f4b953b3b256..3cd27156c610610287c95adbacba58cbeb0b1fb1 100644 (file)
@@ -3880,8 +3880,8 @@ static int default_handler(request_rec *r)
                     */
                    if (fseek(f, offset, SEEK_SET)) {
                        ap_log_error(APLOG_MARK, APLOG_ERR, r->server,
-                             "Failed to fseek for byterange (%ld, %ld)",
-                             offset, length);
+                             "Failed to fseek for byterange (%ld, %ld): %s",
+                             offset, length, r->filename);
                    }
                    else {
                        ap_send_fd_length(f, r, length);