perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arshavir Grigorian ...@m-cam.com>
Subject formatting issue
Date Wed, 08 Dec 2004 00:10:38 GMT
Hello list,

I am using mp2 (1.99_17) and have the following line in my Exception 
class to get a complete stacktrace:

<snip>
if (Apache->can('request')) {
    $handle = Apache->request;
} else {
    $handle = Apache->server;
}

$handle->log_error("$self: ".Carp::longmess ("$message"));
</snip>

The problem is that in my logs all of the control chars (\n, \t) appear 
as text and never translate to newlines, tabs, etc.

Am I doing something wrong? or is it working as advertised and I need a 
workaround?

Thanks.



Arshavir

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message