[Esapi-user] Logging

Jorge Calderon jcald1 at gmail.com
Wed Oct 28 16:07:33 UTC 2015


I'm using the Log4j and the ESAPI Log Wrapper  The source code file
and line number are printing out with "Log4JLogger.java:449" instead
of my source code file and line number.

[2015-10-27T16:20:39,869-0400 ERROR][[ACTIVE] ExecuteThread: '2' for
queue: 'weblogic.kernel.Default (self-tuning)'](Log4JLogger.java:449):
GATEWAY com.myservice.MyService [EVENT FAILURE Anonymous:null at unknown
->

The Log4J pattern includes (%F:%L) for the file and line.  It works
when I just use Log4j directly.

In addition, what do I need to change so I don't get
"Anonymous:null at unknown" in the log?

Jorge


More information about the Esapi-user mailing list