I have these two log files on my eclipse classpath, in src/main/resources and src/test/resources respectively. The problem is that log4j2-test.xml is higher priority and is always the chosen config file when running my app. How do I tell eclipse to ignore log4j2-test.xml and use log4j2.xml when running my app and to fall back to log4j2-test.xml when running unit tests?
Thanks,
No comments:
Post a Comment