SimpleDateFormat Error: Illegal pattern character 'l'
Hello tout le monde,
En essayant de déployer mon .war sous Tomcat, j'ai l'erreur suivante:
Code:
1 2 3 4 5 6
| log4j:ERROR Could not create an Appender. Reported error follows
java.lang.IllegalArgumentException: Illegal pattern character 'l'
java.text.SimpleDateFormat.compile(SimpleDateFormat.java:768)
java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:575)
java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:500)
java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:475) |
Dans mon log4j.xml, j'ai le code suivant:
Code:
1 2 3
| <layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%p - %d{ISO8601} - %c : %m%nOrigine : %l%n" />
</layout> |
D'où vient cette erreur? est-ce dû à une mauvaise configuration?
Merci!