Skip to content

Commit

Permalink
mock-server#712 improved the example logging configuration to log to …
Browse files Browse the repository at this point in the history
…file in working directory not home directory
  • Loading branch information
jamesdbloom committed Jan 10, 2020
1 parent 607649d commit 60723a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ mods
# Logs and databases #
######################
*.log
*.log.*
*.sql
*.sqlite
test.csv
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ io.netty.handler.ssl.SslHandler.level = WARNING
java.util.logging.SimpleFormatter.format = %1$tF %1$tT %4$s %5$s %n

# File Logging
java.util.logging.FileHandler.pattern = %h/mockserver.log
java.util.logging.FileHandler.pattern = mockserver.log
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.FileHandler.limit=50000
java.util.logging.FileHandler.count=5
java.util.logging.FileHandler.level = INFO

# Console Logging
Expand Down

0 comments on commit 60723a5

Please sign in to comment.