Merge "Updating features archetype to talk about user-facing features."
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / configuration / tomcat-logging.properties
1 ############################################################
2 # Configuration file for tomcat logging
3 ############################################################
4 # Handlers:
5 # "handlers" specifies a comma separated list of log Handler
6 # classes.  These handlers will be installed during VM startup.
7 # Note that these classes must be on the system classpath.
8 # Following line configures a ConsoleHandler and a FileHandler
9
10 handlers= java.util.logging.FileHandler,java.util.logging.ConsoleHandler
11
12 ############################################################
13 # Handler specific properties
14 # Describes specific configuration info for Handlers
15 # JUL does not support rolling file handler based on date
16 # For now we will keep count of files to 5 with rolling size of 10MB
17 ############################################################
18
19 java.util.logging.FileHandler.pattern = logs/tomcat%g.log
20 java.util.logging.FileHandler.limit = 104857600
21 java.util.logging.FileHandler.count = 5
22 java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
23 java.util.logging.FileHandler.append = true
24 java.util.logging.FileHandler.level = INFO
25
26 # Limit the message that are printed on the console to SEVERE and above.
27 java.util.logging.ConsoleHandler.level = WARNING
28 java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
29
30 # SimpleFormatter output format to print one-line log message like this:
31 # <YYYY>-<MM>-<DD> <HH>:<MM>:<SS> <TimeZone> [<SOURCE>] ><LOG_LEVEL> <LOGGER> <MESSAGE> <THROWABLE>
32 #
33 java.util.logging.SimpleFormatter.format=%1$tF %1$tT %1$tZ [%3$s] %4$s %2$s %5$s%6$s%n
34
35 ############################################################
36 # Facility specific properties.
37 # Provides extra control for each logger.
38 ############################################################
39
40 # For example, set the com.xyz.foo logger to only log SEVERE
41 # messages
42 #org.apache.catalina = SEVERE