Created
February 26, 2015 17:35
-
-
Save mdaley/aaf9b62d90f6817eb72a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Change to the directory with DynamoDBLocal.jar | |
2. Create a new file called log4j.properties with the contents: | |
log4j.rootLogger=DEBUG, stdout | |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender | |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout | |
log4j.appender.stdout.layout.ConversionPattern=_LOG_%d %p [%c] - %m%n | |
3. Remove the existing log4j.properties files from the jar (there might be two) | |
zip -d DynamoDBLocal.jar log4j.properties | |
zip -d DynamoDBLocal.jar log4j.properties | |
4. Add the new properties file to the jar | |
zip -u DynamoDBLocal.jar log4j.properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment