On Tue, 7 Aug 2007, H. Meyer wrote:

> We've been able to "fix" the issue for our local setup.  The following
> appender caused the segfaults:
>
> log4perl.appender.STDERR=Log::Dispatch::Screen
> log4perl.appender.STDERR.stderr=1
> log4perl.appender.STDERR.layout=Log::Log4perl::Layout::PatternLayout
> log4perl.appender.STDERR.layout.ConversionPattern=%d %-5p %5P %6X{uid}
> %c:%M{1}:%L - %m%n

Nothing wrong with this appender. Just for kicks you might want to try
the screen appender that comes with Log4perl,
Log::Log4perl::Appender::Screen, but it shouldn't make a difference. It
supports the same parameters.

Are you using any other libraries with Apache? It is very common that
one bad library causes problems leading to crashes in another, innocent,
library (mod_perl in your case).

 -- Mike

Mike Schilli
[EMAIL PROTECTED]

> Corresponding apache error log entries:
>
> DIED: Can't locate object method "DESTROY" via package
> "Log::Dispatch::Screen" at
> /usr/local/share/perl/5.8.8/Log/Log4perl/Logger.pm line 73.
> [Mon Aug  6 11:29:18 2007] [notice] child pid 21957 exit signal
> Segmentation fault (11)
>
> Once that appender is disabled, everything (we currently only use
> Log::Dispatch::File) works without problems.
>
> Greetings
> H. Meyer
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> log4perl-devel mailing list
> log4perl-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/log4perl-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to