Discussion:
LOG4J2-807.log
Remko Popma
2014-09-10 23:03:38 UTC
Permalink
One of the tests keeps creating a file LOG4J2-807.log in log4j-core/ during
the build.
Can this file be created in log4j-core/target instead?
Gary Gregory
2014-09-10 23:30:31 UTC
Permalink
Lots of tests create lots of files, this must be an omission. It should
also be cleaned up. We have code for that too.

G
Post by Remko Popma
One of the tests keeps creating a file LOG4J2-807.log in log4j-core/
during the build.
Can this file be created in log4j-core/target instead?
--
E-Mail: ***@gmail.com | ***@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Remko Popma
2014-09-10 23:50:11 UTC
Permalink
It's probably a junit test that doesn't explicitly create its log in ./target/ so it ends up in the current dir...

Sent from my iPhone
Lots of tests create lots of files, this must be an omission. It should also be cleaned up. We have code for that too.
G
One of the tests keeps creating a file LOG4J2-807.log in log4j-core/ during the build.
Can this file be created in log4j-core/target instead?
--
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Ralph Goers
2014-09-11 02:30:19 UTC
Permalink
Yes, everything created during the build should be in the target directory.

Sent from my iPhone
Post by Remko Popma
It's probably a junit test that doesn't explicitly create its log in ./target/ so it ends up in the current dir...
Sent from my iPhone
Lots of tests create lots of files, this must be an omission. It should also be cleaned up. We have code for that too.
G
One of the tests keeps creating a file LOG4J2-807.log in log4j-core/ during the build.
Can this file be created in log4j-core/target instead?
--
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
Loading...