<HTML>
<HEAD>
<TITLE>Re: [Mod_log_sql] Logging Errors to the database</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>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.<BR>
<BR>
<BR>
<BR>
<BR>
On 9/5/08 10:28 PM, &quot;Edward Rudd&quot; &lt;urkle@outoforder.cc&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Unfortunately, mod_log_sql does not do anything with the error log.<BR>
<BR>
Also read <a href="http://www.outoforder.cc/projects/apache/mod_log_sql/docs-2.0/?chapter=/4/#id_4_1_1_5">http://www.outoforder.cc/projects/apache/mod_log_sql/docs-2.0/?chapter=/4/#id_4_1_1_5</a><BR>
<BR>
Also, there are no module hooks to intercept the error log to redirect <BR>
it somewhere else.<BR>
<BR>
There are some other options, that would probably be better suited to <BR>
your needs.<BR>
<BR>
Using syslog, or a custom script.<BR>
<BR>
Read<BR>
<a href="http://httpd.apache.org/docs/2.2/mod/core.html#errorlog">http://httpd.apache.org/docs/2.2/mod/core.html#errorlog</a><BR>
<BR>
and also<BR>
<a href="http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html">http://www.oreillynet.com/pub/a/sysadmin/2006/10/12/httpd-syslog.html</a><BR>
<BR>
On Sep 5, 2008, at 10:43 AM, Matthew Macdonald-Wallace wrote:<BR>
<BR>
&gt; Hi All,<BR>
&gt;<BR>
&gt; I've recently started using mod_log_sql for a linux-ha based <BR>
&gt; webcluster<BR>
&gt; to ensure that I don't have any issues with logging across nodes<BR>
&gt; (mainly for awstats generation!).<BR>
&gt;<BR>
&gt; Is it possible to specify another table to use for error logs?<BR>
&gt;<BR>
&gt; Ideally I want to be able to run analysis across this data as well.<BR>
&gt;<BR>
&gt; Thanks in advance,<BR>
&gt;<BR>
&gt; Matt<BR>
&gt; --<BR>
&gt; Matthew Macdonald-Wallace<BR>
&gt; matthew@truthisfreedom.org.uk<BR>
&gt; <a href="http://www.truthisfreedom.org.uk">http://www.truthisfreedom.org.uk</a><BR>
&gt; _______________________________________________<BR>
&gt; Download the latest version at <a href="http://www.outoforder.cc/projects/apache/mod_log_sql/">http://www.outoforder.cc/projects/apache/mod_log_sql/</a><BR>
&gt;<BR>
&gt; To unsubscribe send an e-mail to<BR>
&gt; mod_log_sql-unsubscribe@lists.outoforder.cc<BR>
<BR>
_______________________________________________<BR>
Download the latest version at <a href="http://www.outoforder.cc/projects/apache/mod_log_sql/">http://www.outoforder.cc/projects/apache/mod_log_sql/</a><BR>
<BR>
To unsubscribe send an e-mail to<BR>
mod_log_sql-unsubscribe@lists.outoforder.cc<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
</SPAN></FONT>
</BODY>
</HTML>