File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ ESAPI.Encoder=org.owasp.encoder.esapi.ESAPIEncoder
99# To use JUL, you need to obtain ESAPI's esapi-java-logging.properties and drop
1010# it somewhere into your class path. You can get it from the ESAPI configuration
1111# jar. (See Release 2.2.1.1 under GitHub for ESAPI/esapi-java-legacy.)
12+ ESAPI.Logger =org.owasp.esapi.logging.java.JavaLogFactory
1213
13- # ESAPI.Logger=org.owasp.esapi.logging.java.JavaLogFactory
1414# To use the new SLF4J logger in ESAPI (see GitHub issue #129), set
15- ESAPI.Logger =org.owasp.esapi.logging.slf4j.Slf4JLogFactory
15+ # ESAPI.Logger=org.owasp.esapi.logging.slf4j.Slf4JLogFactory
1616# and do whatever other normal SLF4J configuration that you normally would do for your application.
1717
1818# Note: The uncommented out ones are those needed for SLF4J. Others may be
Original file line number Diff line number Diff line change 1+ handlers = java.util.logging.ConsoleHandler
2+ .level = INFO
3+ java.util.logging.ConsoleHandler.level = INFO
4+ java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
5+ java.util.logging.SimpleFormatter.format =[%1$tF %1$tT] [%3$-7s] %5$s %n
6+ # https://www.logicbig.com/tutorials/core-java-tutorial/logging/customizing-default-format.html
You can’t perform that action at this time.
0 commit comments