[Esapi-user] Logging

August Detlefsen augustd at codemagi.com
Fri Oct 30 15:24:22 UTC 2015

Hi Jorge, have you considered using the OWASP Security Logging project
instead? It is much more modern and supports the full SLF4J standard using
either Log4j or Logback.

On Oct 28, 2015 9:09 AM, "Jorge Calderon" <jcald1 at gmail.com> wrote:

> 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
> _______________________________________________
> Esapi-user mailing list
> Esapi-user at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/esapi-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/esapi-user/attachments/20151030/a14b4911/attachment.html>

More information about the Esapi-user mailing list