Skip to content

Commit fe7b01b

Browse files
committed
Add prominent warning about ESAPI log4j logging being deprecated.
1 parent b77feb2 commit fe7b01b

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

configuration/log4j.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3+
<!--
4+
# # # ###### # # ### # # #####
5+
# # # # # # # ## # # ## # # #
6+
# # # # # # # # # # # # # # #
7+
# # # # # ###### # # # # # # # # ####
8+
# # # ####### # # # # # # # # # # #
9+
# # # # # # # # ## # # ## # #
10+
## ## # # # # # # ### # # #####
11+
12+
WARNING: Log4j 1.x has been deprecated in ESAPI since 2020-07-23 in
13+
release 2.2.1.0. It will be removed in a future release.
14+
The new default for ESAPI logging is JUL. Either switch
15+
to JUL or SLF4J (which can support log4j 2). See the latest
16+
release notes for further details.
17+
-->
318
<!-- main resources -->
419
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
520
<appender name="console" class="org.apache.log4j.ConsoleAppender">

src/test/resources/log4j.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
3+
<!--
4+
# # # ###### # # ### # # #####
5+
# # # # # # # ## # # ## # # #
6+
# # # # # # # # # # # # # # #
7+
# # # # # ###### # # # # # # # # ####
8+
# # # ####### # # # # # # # # # # #
9+
# # # # # # # # ## # # ## # #
10+
## ## # # # # # # ### # # #####
11+
12+
WARNING: Log4j 1.x has been deprecated in ESAPI since 2020-07-23 in
13+
release 2.2.1.0. It will be removed in a future release.
14+
The new default for ESAPI logging is JUL. Either switch
15+
to JUL or SLF4J (which can support log4j 2). See the latest
16+
release notes for further details.
17+
-->
318
<!-- main resources -->
419
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
520

0 commit comments

Comments
 (0)