buyingyi | 7f356c1 | 2012-10-07 00:23:17 +0000 | [diff] [blame] | 1 | ############################################################ |
| 2 | # Default Logging Configuration File |
| 3 | # |
| 4 | # You can use a different file by specifying a filename |
| 5 | # with the java.util.logging.config.file system property. |
| 6 | # For example java -Djava.util.logging.config.file=myfile |
| 7 | ############################################################ |
| 8 | |
| 9 | ############################################################ |
| 10 | # Global properties |
| 11 | ############################################################ |
| 12 | |
| 13 | # "handlers" specifies a comma separated list of log Handler |
| 14 | # classes. These handlers will be installed during VM startup. |
| 15 | # Note that these classes must be on the system classpath. |
| 16 | # By default we only configure a ConsoleHandler, which will only |
| 17 | # show messages at the INFO and above levels. |
| 18 | |
| 19 | handlers= java.util.logging.ConsoleHandler |
| 20 | |
| 21 | # To also add the FileHandler, use the following line instead. |
| 22 | |
| 23 | # handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler |
| 24 | |
| 25 | # Default global logging level. |
| 26 | # This specifies which kinds of events are logged across |
| 27 | # all loggers. For any given facility this global level |
| 28 | # can be overriden by a facility specific level |
| 29 | # Note that the ConsoleHandler also has a separate level |
| 30 | # setting to limit messages printed to the console. |
| 31 | |
| 32 | .level= SEVERE |
| 33 | # .level= INFO |
| 34 | # .level= FINE |
| 35 | # .level = FINEST |
| 36 | |
| 37 | ############################################################ |
| 38 | # Handler specific properties. |
| 39 | # Describes specific configuration info for Handlers. |
| 40 | ############################################################ |
| 41 | |
| 42 | # default file output is in user's home directory. |
| 43 | |
| 44 | # java.util.logging.FileHandler.pattern = %h/java%u.log |
| 45 | # java.util.logging.FileHandler.limit = 50000 |
| 46 | # java.util.logging.FileHandler.count = 1 |
| 47 | # java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter |
| 48 | |
| 49 | # Limit the message that are printed on the console to FINE and above. |
| 50 | |
| 51 | java.util.logging.ConsoleHandler.level = FINEST |
| 52 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter |
| 53 | |
| 54 | |
| 55 | ############################################################ |
| 56 | # Facility specific properties. |
| 57 | # Provides extra control for each logger. |
| 58 | ############################################################ |
| 59 | |
| 60 | # For example, set the com.xyz.foo logger to only log SEVERE |
| 61 | # messages: |
| 62 | |
| 63 | #edu.uci.ics.asterix.level = FINE |
| 64 | #edu.uci.ics.algebricks.level = FINE |
| 65 | edu.uci.ics.hyracks.level = SEVERE |
| 66 | #edu.uci.ics.hyracks.control.nc.net.level = FINE |