You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/09/15 05:04:29 UTC

[Bug 62724] New: Custom log omits "/" requests

https://bz.apache.org/bugzilla/show_bug.cgi?id=62724

            Bug ID: 62724
           Summary: Custom log omits "/" requests
           Product: Apache httpd-2
           Version: 2.4.29
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Runtime Config
          Assignee: bugs@httpd.apache.org
          Reporter: joshk03@yahoo.com
  Target Milestone: ---

Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured

I have setup a simple custom log file, but it skips logging requests to the
homepage. I tried log type common, combined, custom, the issue persists. Here
are some entries from the access.log that are omitted from the custom log:

190.98.219.18 - - [14/Sep/2018:23:05:31 -0500] "GET / HTTP/1.1" 403 160 "-"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML,
like Gecko) Version/9.1.2 Safari/601.7.7"
121.134.174.236 - - [14/Sep/2018:23:10:18 -0500] "GET / HTTP/1.1" 403 160 "-"
"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/51.0.2704.103 Safari/537.36"

Nevermind the 403 forbidden status, that covers the whole site at the moment.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62724] Custom log omits "/" requests

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62724

--- Comment #3 from joshk03@yahoo.com ---
Well this is unconfirmed... and a little embarrassing.  The server 16.04 server
I borrowed from has an exclusion that I suspect is the issue.  If I recall
correctly this exclusion was to clean up some ownCloud local traffic from the
logs.  The behavior must be different between the server?

SetEnvIf Request_URI "/$" bor

CustomLog ${APACHE_LOG_DIR}/public.log common env=!bor

crap.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62724] Custom log omits "/" requests

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62724

joshk03@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from joshk03@yahoo.com ---
PS - I do not have this issue on my Ubuntu 16.04 system last I checked.
The bug is on my 18.04 system.

Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62724] Custom log omits "/" requests

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62724

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Eric Covener <co...@gmail.com> ---
What's the vhost config? Tested w/ a command-line client?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62724] Custom log omits "/" requests

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62724

joshk03@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEEDINFO                    |RESOLVED

--- Comment #4 from joshk03@yahoo.com ---
I have confirmed that was the issue.  In my defense I re-purposed the "bor" env
to clean up the logs on this server, but didn't notice that "/$" statement
buried in the other statements.

Status: Resolved/Invalid.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org