I don't know if this will do it for you, but try mod_log_mysql. This module
logs all request to tables of your definition. It doesn't do the error log
though. 

Frank
------------------------------
Franklin J. Balak Jr.
Quality Assurance Data Analyst
Brown Printing Company
Waseca Division
Waseca, MN. 56093
Voice: 507-835-0253
Fax: 507-835-0293
------------------------------ 

-----Original Message-----
From: Michael McGlothlin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 15:17
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to