Re: Error logging int mod_log_sql
"Alan Sparks" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Message-ID | <[email protected]> |
I do not believe it is possible to log the ErrorLog into MySQL, due to the fact that the server error log is a way different animal from the transfer log. You could do such a thing, but not with mod_log_sql. You would need a small program (Perl script, whatever) to use the piped log facility of Apache to insert them into a custom table. The *Notes functionality is not for that, it's for logging request "notes" generated by Apache modules (like the mod_gzip module, which adds internal notes to a request with info like compression ratio, etc). -Alan Rob Horton said: > Hi, > > I'm wondering if it's possible to log server errors to the MySQL > database - is this what the LogSQLNotesLogTable and LogSQLWhichNotes > directives are for? I did start to look at the source but it's Friday > afternoon :) > > Any thoughts (or information on LogSQLWhichNotes !) would be great. > > Thanks, > Rob > -- > Robert Horton > Systems Administrator -- ClaraNET > __________________________________________________________________ > Reminder: to unsubscribe, send email to <[email protected]> with > the words "unsubscribe mod_log_sql" in the body (w/o quotes). The module > homepage is http://www.grubbybaby.com/mod_log_sql/ =========== Alan Sparks, UNIX/Linux Systems Administrator <[email protected]> __________________________________________________________________ Reminder: to unsubscribe, send email to <[email protected]> with the words "unsubscribe mod_log_sql" in the body (w/o quotes). The module homepage is http://www.grubbybaby.com/mod_log_sql/