Ian Maxon | a70fba5 | 2016-02-18 13:52:36 -0800 | [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 | #*/ |
| 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= INFO |
| 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 = INFO |
| 66 | java.util.logging.ConsoleHandler.formatter = org.apache.asterix.experiment.logging.ExperimentLogFormatter |
| 67 | #java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter |
| 68 | |
| 69 | |
| 70 | ############################################################ |
| 71 | # Facility specific properties. |
| 72 | # Provides extra control for each logger. |
| 73 | ############################################################ |
| 74 | |
| 75 | # For example, set the com.xyz.foo logger to only log SEVERE |
| 76 | # messages: |
| 77 | |
| 78 | |
| 79 | #org.apache.asterix.test.level = INFO |
| 80 | #org.apache.asterix.level = INFO |
| 81 | #org.apache.hyracks.algebricks.level = FINE |
| 82 | #org.apache.hyracks.level = INFO |
| 83 | #org.apache.asterix.test = INFO |
| 84 | #org.apache.asterix.installer.test = INFO |