Description
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><Unable to render embedded object: File ([CDATA[Hello World) not found.]]></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