logging-log4php-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Grobmeier (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LOG4PHP-78) AppenderSocket: locationInfo=false has no effect
Date Tue, 08 Sep 2009 05:00:57 GMT

    [ https://issues.apache.org/jira/browse/LOG4PHP-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752333#action_12752333
] 

Christian Grobmeier commented on LOG4PHP-78:
--------------------------------------------

Can you try putting false into quote: "false"
I am not sure but I remind that there was something like that


> AppenderSocket: locationInfo=false has no effect
> ------------------------------------------------
>
>                 Key: LOG4PHP-78
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-78
>             Project: Log4php
>          Issue Type: Bug
>          Components: Code
>    Affects Versions: 2.0
>            Reporter: Christian Hammers
>             Fix For: 2.0
>
>
> Using the following config (from the src/examples/ directory), locationInfo is still
printed.
> log4php.appender.default = LoggerAppenderSocket
> log4php.appender.default.layout = LoggerLayoutSimple
> log4php.appender.default.remoteHost = localhost
> log4php.appender.default.port = 4242
> log4php.appender.default.useXml = true
> log4php.appender.default.locationInfo = false
> log4php.rootLogger = DEBUG, default
> $  sudo nc -l -p 4242 & php src/examples/php/appender_socket.php
> [1] 19632
> <log4j:event logger="root" level="FATAL" thread="19633" timestamp="1252368299444">
> <log4j:message><![CDATA[Hello World!]]></log4j:message>
> <log4j:locationInfo class="main" file="/srv/home/james/workspace/log4php/src/examples/php/appender_socket.php"
line="24" method="main" />
> </log4j:event>
> [1]+  Fertig                  sudo nc -l -p 4242

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message