log4j.xml is missing after cloning
Opened this issue · 0 comments
The s3s3mirror.sh file references either:
java -Dlog4j.configuration=file:target/classes/log4j.xml -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 ${VERSION_ARG} -jar "${JARFILE}" "$@"
OR
java ${VERSION_ARG} -Dlog4j.configuration=file:target/classes/log4j.xml -jar "${JARFILE}" "$@"
The issue is that there is no target/classes/log4j.xml file and logging to the console is not working.
I would like to propse that a force add of a newly created file "log4j.xml" inside the /target/classes directory.
In order to get the logging working I manually coppied the "s3s3mirror/src/main/resources/log4j.xml" file to the "s3s3mirror/target/classes/log4j.xml" location afterwhich the logging to the console displayed correctly
I presume it was not added due to the git ignore not tracking the directory, hence why I suggested the force add