Skip to content

Instantly share code, notes, and snippets.

@bigjosh
Created January 25, 2016 17:10
Show Gist options
  • Save bigjosh/ea3ae9341895cc689783 to your computer and use it in GitHub Desktop.
Save bigjosh/ea3ae9341895cc689783 to your computer and use it in GitHub Desktop.
A sample log properties file for running the Engine821 server with logging handled by JDK1.4 logging package and writing to local files
andlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.FileHandler.level=ALL
java.util.logging.FileHandler.pattern=e821server.log
# Write 10MB before rotating this file
java.util.logging.FileHandler.limit=10000000
# Number of rotating files to be used
java.util.logging.FileHandler.count=4
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format = E821SERV [%1$tc] %4$s: %2$s - %5$s %$
.level=INFO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment