[users@httpd] LogFormat to show Load balanced host

2013-01-14 Thread Smith, Mitchell
Hi, I have been looking through the documentation. I use apache2 as a loadbalacer for some application server. Is it possible to include the jvmRoute or other detail on the serving host in the error log (Or any log) I think adding %{jvmRoute}C would achieve this but do not currently have a test

[users@httpd] LogFormat

2012-03-22 Thread Tosh, Michael J
I'm running a Bugzilla instance on my apache server. Bugzilla contains two cookies when a user is logged in, Bugzilla_login (an integer) and Bugzilla_logincookie. (a hex string) I'd like to capture the value of Bugzilla_login in my CustomLog. I have the following CustomLog directive: Custom

Re: [users@httpd] LogFormat Combined - many logfile lines with no Referer or User-agent

2011-07-28 Thread Terry Kennedy
Rich Bowen wrote: > These are optional fields which *may* be passed by a user agent. When they > are passed, they are not reliable - that is, they may be spoofed, trivially. Understood. I'm not depending on them for any decision-making. The issue is that Analog discards those lines, so (for

Re: [users@httpd] LogFormat Combined - many logfile lines with no Referer or User-agent

2011-07-28 Thread Stormy
At 09:40 AM 7/28/2011 -0400, Rich Bowen wrote: [snip] > However, I have observed a HUGE increase in the number of logfile lines > missing these two fields, starting early in June, 2011. It would be interesting to see what version of what browser released in the last 30 days. FireFox 5 ... ??

Re: [users@httpd] LogFormat Combined - many logfile lines with no Referer or User-agent

2011-07-28 Thread Rich Bowen
On Jul 28, 2011, at 3:20 AM, Terry Kennedy wrote: > I'm using the default "LogFormat combined" directive in my httpd.conf > file. That should generate logfile lines using this pattern: > > "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > > There have always been occasional ent

Re: [users@httpd] LogFormat Combined - many logfile lines with no Referer or User-agent

2011-07-28 Thread Marcin 'Rambo' Roguski
> There doesn't seem to be any pattern to client IP address, browser, etc. I know for a fact, that certain browsers (most versions of IE for example), don't send referer when request is induced via JavaScript. Several firewalls strip these by default, too.

[users@httpd] LogFormat Combined - many logfile lines with no Referer or User-agent

2011-07-28 Thread Terry Kennedy
I'm using the default "LogFormat combined" directive in my httpd.conf file. That should generate logfile lines using this pattern: "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" There have always been occasional entries which don't contain the last 2 fields, for some reason.