-
Type: User story
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: API
In nuxeo-java-client as a dev, I would like to execute tests with the Nuxeo framework and in the same time, be able to use Log4J 2 framework configuration file. For now its not possible.
See deprecated log4J configuration file
See following new configuration log4J 2:
<?xml version="1.0"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <Configuration> <Appenders> <Console name="STDOUT" target="SYSTEM_OUT"> <PatternLayout pattern="%d{HH:mm:ss,SSS} %-5p [%C{1}] %m%n"/> </Console> <File name="FILE" fileName="target/trace.log" append="false"> <PatternLayout pattern="%d{HH:mm:ss,SSS} %-5p [%C{1}] %m%n"/> </File> </Appenders> <Root level="debug"> <AppenderRef ref="CONSOLE"/> <AppenderRef ref="FILE"/> </Root> </Configuration>