Re: [users@httpd] Log entries missing some data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry - I missed that on the cut-n-paste operation.  More complete is:

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I
%O TIME: %T" resptrack
CustomLog /var/log/httpd/access_log resptrack


The problem I'm having is that the vast majority of the requests logged do
follow the format as defined.  However, some (say, 1 out of every 100 or so)
do not.  And the ones that do not consistently come from the same requestor.

I'd understand if I had hyphens for the missing fields - but the logger just
doesn't seem to even recognize the format string at all.

On 3/13/06 12:33 PM, "Joshua Slive" <joshua@xxxxxxxx> wrote:

> On 3/13/06, Ross A. Del Duca <RDelDuca@xxxxxxxxxxxxx> wrote:
>> I've been beating this up for some time, so any hints/ideas anyone has would
>> be great.
>> 
>> Basically, I have certain requests from a small number of specific
>> requestors that don't log all of the data in the access_log.
>> 
>> My log format is:
>> 
>> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I
>> %O TIME: %T"
> 
> The LogFormat directive on its own doesn't do anything if you are
> using the CustomLog directive.  You need to use LogFormat to define a
> nickname (such as "combined" in the default config) and then use this
> nickname in your CustomLog directive.
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 

-- 

Ross A. Del Duca
Security Officer
Infrastructure Architect

RDelDuca@xxxxxxxxxxxxx
(916)438-1139

---------------------------------------------------------------------------
This message contains confidential information intended only for the use of
the addressee named above and may contain information that is legally
privileged. If you are not the addressee, or the person responsible for
delivering it to the addressee, you are hereby notified that reading,
disseminating, distributing or copying this message is strictly prohibited.


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: G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0xXEhN
MIMaF7uydnAUzxuOLC9Z+V4lXMAqncJyzAfJoSOEjeGOAyD/SF3nKhWIRU7sYKw6
xhTnPyMnIMVHBIhGBBgRAgAGBQJEEd3NAAoJEMsBagVfRnHJufQAn1vODb3QfdoH
iRZNz8QQpRof/vsbAKCB31KrUzIw4PcgYLqC8CAUhn2dEw==
=yWc6
-----END PGP PUBLIC KEY BLOCK-----



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux