RE: Custom Logs

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

 




1) I used the existing LogFormat "combined" entry that came with the
Apache httpd.conf install.


LogFormat  "%h %l %u %t \"%r\" %>s %b ........ combined


2) I then uncommented the corresponding CustomLog "combined" line that
came with the Apache httpd.conf install:


CustomLog logs/access_log combined


3) I then added some new parameters.


4) I then restarted Apache.  The new paramters did not show up.


I also tried creating my own version with a different name other than
"combined", but that did not work either.

 
Peter Chokola
AT&T Labs
200 S. Laurel Ave.
Bldg A, Room A3-2B14
Middletown, N.J.  07748
Phone: (732)-420-2177

-----Original Message-----
From: jslive@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf Of Joshua
Slive
Sent: Wednesday, June 13, 2007 11:39 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Custom Logs

On 6/13/07, CHOKOLA, PETER J, ATTLABS <pc9840@xxxxxxx> wrote:
>
>
>
>
>      I am new to Apache and I am trying to get the LogFormat and
CustomLog
> directives to work because I need more detailed logs, information that
even
> the LogLevel = debug can not show me (For example cookies among other
> things).  I uncommented both the LogFormat and CustomLog lines for the
> "combined" version, as well as my own LogFormat and CustomLog that I
> created.  However, no matter what I add to the format line (such as
server
> ip or show cookies, etc.), the log file looks the same.  Is there
something
> else that I need to disable or enable to get it to work>

Show us the relevant part of your config.

It sounds like you may not be using the nickname defined in the
LogFormat directive to setup your CustomLog.

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


---------------------------------------------------------------------
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