RE: [PHP] Piping/parsing Apache logs though PHP?

From: Date: Tue, 13 Feb 2001 21:23:32 +0000
Subject: RE: [PHP] Piping/parsing Apache logs though PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39501@lists.php.net to get a copy of this message
try this script: http://www.wokzilla.com/usage/usage.php3 -----Original Message----- From: Michael McGlothlin [mailto:mmcglothlin@mail.travel-italy.com] Sent: Tuesday, February 13, 2001 1:17 PM To: php-general@lists.php.net Subject: [PHP] Piping/parsing Apache logs though PHP? I'd like to pipe and parse my Apache logs through PHP into a MySQL db. Is there a way to do this automaticlly for each entry and would that cause a major performance loss to the web server? If not does anyone know the best way to parse the server log? I'd like to do somerthing like move the server log to a temp file, Restart Apache so the logs will keep being written, and parse the log and save it's values in a database but this has the obvious problem of what happens to PHP when Apache is restarted in the manner the Apache logs specify. Any suggestions? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#39501) next »