[
https://issues.apache.org/jira/browse/LOG4J2-786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101537#comment-14101537
]
Alex Newman edited comment on LOG4J2-786 at 8/18/14 11:42 PM:
--------------------------------------------------------------
Log4j2 expects you to provide an xml file which specifies where the output
goes. As far as I know, there's no reasonable way to have a xml file which
creates a file per class named along the classname. This could easily be solved
by providing an example.
was (Author: posix4e):
Log4j2 expects you to provide an xml file which specifies where the output
goes. As far as I know, there's no reasonable way to have a xml file which
creates a file per class named along the classname.
> Unit testing with log4j2
> -------------------------
>
> Key: LOG4J2-786
> URL: https://issues.apache.org/jira/browse/LOG4J2-786
> Project: Log4j 2
> Issue Type: Improvement
> Reporter: Alex Newman
> Priority: Critical
>
> I still have no idea, how with a maven project with submodules, how to create
> a separate file per test with the test output in it. I used to just output to
> the console and then use maven.test.redirectTestOutput. This no longer works.
> It was nice to be able to just turn this on and off with a simple property.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]