Till Westmann | ea8ab39 | 2013-06-05 15:17:08 -0700 | [diff] [blame] | 1 | #/* |
| 2 | # Copyright 2009-2013 by The Regents of the University of California |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # you may obtain a copy of the License from |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | #*/ |
vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 15 | ############################################################ |
| 16 | # Default Logging Configuration File |
| 17 | # |
| 18 | # You can use a different file by specifying a filename |
| 19 | # with the java.util.logging.config.file system property. |
| 20 | # For example java -Djava.util.logging.config.file=myfile |
| 21 | ############################################################ |
| 22 | |
| 23 | ############################################################ |
| 24 | # Global properties |
| 25 | ############################################################ |
| 26 | |
| 27 | # "handlers" specifies a comma separated list of log Handler |
| 28 | # classes. These handlers will be installed during VM startup. |
| 29 | # Note that these classes must be on the system classpath. |
| 30 | # By default we only configure a ConsoleHandler, which will only |
| 31 | # show messages at the INFO and above levels. |
| 32 | |
| 33 | handlers= java.util.logging.ConsoleHandler |
| 34 | |
| 35 | # To also add the FileHandler, use the following line instead. |
| 36 | |
| 37 | # handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler |
| 38 | |
| 39 | # Default global logging level. |
| 40 | # This specifies which kinds of events are logged across |
| 41 | # all loggers. For any given facility this global level |
| 42 | # can be overriden by a facility specific level |
| 43 | # Note that the ConsoleHandler also has a separate level |
| 44 | # setting to limit messages printed to the console. |
| 45 | |
| 46 | .level= WARNING |
| 47 | # .level= INFO |
| 48 | # .level= FINE |
| 49 | # .level = FINEST |
| 50 | |
| 51 | ############################################################ |
| 52 | # Handler specific properties. |
| 53 | # Describes specific configuration info for Handlers. |
| 54 | ############################################################ |
| 55 | |
| 56 | # default file output is in user's home directory. |
| 57 | |
| 58 | # java.util.logging.FileHandler.pattern = %h/java%u.log |
| 59 | # java.util.logging.FileHandler.limit = 50000 |
| 60 | # java.util.logging.FileHandler.count = 1 |
| 61 | # java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter |
| 62 | |
| 63 | # Limit the message that are printed on the console to FINE and above. |
| 64 | |
| 65 | java.util.logging.ConsoleHandler.level = FINE |
| 66 | java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter |
| 67 | |
| 68 | |
| 69 | ############################################################ |
| 70 | # Facility specific properties. |
| 71 | # Provides extra control for each logger. |
| 72 | ############################################################ |
| 73 | |
| 74 | # For example, set the com.xyz.foo logger to only log SEVERE |
| 75 | # messages: |
| 76 | |
| 77 | # edu.uci.ics.asterix.level = FINE |
| 78 | # edu.uci.ics.algebricks.level = FINE |
| 79 | # edu.uci.ics.hyracks.level = FINE |