[Mod_log_sql] Logging Errors to the database

Edward Perry eperry at accoona.com
Sat Sep 6 10:55:27 EDT 2008


Syslog is a good idea, with syslog-ng you can put that data right in to a
database, I did it at my last job and it worked great.




On 9/5/08 10:28 PM, "Edward Rudd" <urkle at outoforder.cc> wrote:

> Unfortunately, mod_log_sql does not do anything with the error log.
> 
> Also read 
> http://www.outoforder.cc/projects/apache/mod_log_sql/docs-2.0/?chapter=/4/#id_
> 4_1_1_5
> 
> Also, there are no module hooks to intercept the error log to redirect
> it somewhere else.
> 
> There are some other options, that would probably be better suited to
> your needs.
> 
> Using syslog, or a custom script.
> 
> Read
> http://httpd.apache.org/docs/2.2/mod/core.html#errorlog
> 
> and also
> http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html
> 
> On Sep 5, 2008, at 10:43 AM, Matthew Macdonald-Wallace wrote:
> 
>> > Hi All,
>> >
>> > I've recently started using mod_log_sql for a linux-ha based
>> > webcluster
>> > to ensure that I don't have any issues with logging across nodes
>> > (mainly for awstats generation!).
>> >
>> > Is it possible to specify another table to use for error logs?
>> >
>> > Ideally I want to be able to run analysis across this data as well.
>> >
>> > Thanks in advance,
>> >
>> > Matt
>> > --
>> > Matthew Macdonald-Wallace
>> > matthew at truthisfreedom.org.uk
>> > http://www.truthisfreedom.org.uk
>> > _______________________________________________
>> > Download the latest version at
>> http://www.outoforder.cc/projects/apache/mod_log_sql/
>> >
>> > To unsubscribe send an e-mail to
>> > mod_log_sql-unsubscribe at lists.outoforder.cc
> 
> _______________________________________________
> Download the latest version at
> http://www.outoforder.cc/projects/apache/mod_log_sql/
> 
> To unsubscribe send an e-mail to
> mod_log_sql-unsubscribe at lists.outoforder.cc
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.outoforder.cc/pipermail/mod_log_sql/attachments/20080906/393a67c3/attachment.html 


More information about the Mod_log_sql mailing list