Re: Piping/parsing Apache logs though PHP?

From: Date: Tue, 13 Feb 2001 21:18:10 +0000
Subject: Re: Piping/parsing Apache logs though PHP?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39500@lists.php.net to get a copy of this message
At 04:17 PM 2/13/2001, Michael McGlothlin wrote: can i ask why you're doing this - it seems like a waste of resources to me. ~kurth
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 (#39500) next »