I followed the "[link=http://howtoforge.com/apache_log_splitting_vlogger]Splitting Apache logs with vlogger[/link]" Tutorial and it seems to work very well... The only issue that I am experiencing is that I am seeing very strange log entries in the apache error_log file: Code: Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11509. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11510. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11511. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11512. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11513. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11515. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11516. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11517. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11518. Argument "-" isn't numeric in numeric gt (>) at /usr/local/sbin/vlogger-1.3/vlogger line 456, <STDIN> line 11525. Just curious if it's something to be worried about. I thought it could be related to the options to write the bandwidth usage to a table (mainly because it wasn't working), but I disabled that option and the issue still persisted. Thanks! Caio
It does work, yes, however I'm not able to get the bandwidth logging part of it (-d option). No relevant errors in the log, and all of my dB info checks out.
I set up my httpd.conf to pipe the logs to vlogger with the -d option: Code: CustomLog "| /usr/local/sbin/vlogger-1.3/vlogger -d /usr/local/sbin/vlogger-1.3/vlogger-dbi.conf -s access.log /home/webconf/logs" combined vlogger-dbi.conf looks like this: Code: dsn DBI:mysql:database=virtualhosts;host=localhost user virtualhosts pass <mypassword> dump 30 I've double checked that DBI is installed, as well as the username & password for mysql, and the database name.