Issue with mod_logio

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

 



Hi-
Setting up the apache webheads to do some lamp profiling using
mod_logio. Loaded module right after the standard apache log module,
made sure permissions are golden for file creation, the file gets
created but nothing populates it, Apache starts normal. Perhaps Im
using incorrect loggin parms for mod_logio?

Here is the entry where I load it up:

...
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.soLoadModule env_module
modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
...

And here's where i use it:

# Blackbox log format
<IfModule mod_logio.c>
LogFormat "%a/0 %X %t \"%r\" %s/%>s %{pid}P/%{tid}P %T/%D %I/%O/%B"
blackbox</IfModule>
<IfModule !mod_logio.c>
LogFormat "%a/0 %X %t \"%r\" %s/%>s %{pid}P/%{tid}P %T/%D 0/0/%B"
blackbox
</IfModule>
CustomLog /var/log/httpd/blackbox blackbox

Why doesnt it log anything?

Since I didnt recompile apache to enable source port entries in
loggin I dont need  "%S" which would log source port. Ive replaced it
simply with "0".

I used instructions from here verbatim:

http://www.onlamp.com/pub/a/apache/2004/04/22/blackbox_logs.html


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