Skip to content
Permalink
Browse files

changed default logging location for filehandler to temp folder but c…

…ommented out. Use it to debug shell script startup.
  • Loading branch information...
Tobi Delbruck Tobi Delbruck
Tobi Delbruck authored and Tobi Delbruck committed Oct 27, 2018
1 parent ce4aa63 commit 9a360e9ecf488a4c4b24b1fc8afd8c622d5835ac
Showing with 6 additions and 4 deletions.
  1. +6 −4 conf/Logging.properties
@@ -7,28 +7,30 @@
.level = INFO

# Set the default logging level for new ConsoleHandler and FileHandler instances
.level=INFO
java.util.logging.ConsoleHandler.level = INFO
java.util.logging.FileHandler.level = INFO

# (all loggers are children of the root logger)
# The following creates two handlers
# handlers = java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# handlers = java.util.logging.FileHandler
handlers = java.util.logging.ConsoleHandler
#, java.util.logging.FileHandler
#handlers = java.util.logging.FileHandler


# The following special tokens can be used in the pattern property
# which specifies the location and name of the log file.
# / - standard path separator
# %t - system temporary directory
# %h - value of the user.home system property
# %h - value of the user.home system property (home folder, e.g. c:\Users\<username>\ or /home/<username>)
# %g - generation number for rotating logs
# %u - unique number to avoid conflicts
java.util.logging.FileHandler.pattern=%h/jAER-%g.log
java.util.logging.FileHandler.pattern=%t/jAER-%g.log

# Set the default formatter for new ConsoleHandler instances
#java.util.logging.ConsoleHandler.formatter = net.sf.jaer.util.JAERConsoleLoggingFormatter
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

# Set the default logging level for the logger named com.mycompany
#com.mycompany.level = ALL

0 comments on commit 9a360e9

Please sign in to comment.
You can’t perform that action at this time.