[Esapi-user] ESAPI.properties Logger.LogFileName=...

Chris Dickinson chris.dickinson at web.de
Wed Apr 20 10:46:45 EDT 2011


I want to use ESAPI's Logger to write log messages to a log file. I'm using rc4 of ESAPI 2.0. I Noticed the line in ESAPI.properties:


However, the logging only appears in the console, never in a file.

What steps need to be taken in order for the logging to be done in the file specified in ESAPI.properties?

p.s. I can get log4j to write into a log file via a "FileAppender" entry in log4j.xml, but that would be defeating the purpose of having this line in ESAPI.properties, right?
p.p.s. It looks like rc11 works in quite a different way. Is there no longer any ESAPI.properties file? Where can I find documentation for this?
WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt mit 
gratis Handy-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1757 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.owasp.org/pipermail/esapi-user/attachments/20110420/abe38d92/attachment.bin 

More information about the Esapi-user mailing list