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