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
            Reporter: Christian Hammers


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.

Reply via email to