]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.procore/log4j.properties
Merge "An initial implementation of Json module."
[simantics/platform.git] / bundles / org.simantics.db.procore / log4j.properties
1 ###############################################################################\r
2 # Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
3 # in Industry THTH ry.\r
4 # All rights reserved. This program and the accompanying materials\r
5 # are made available under the terms of the Eclipse Public License v1.0\r
6 # which accompanies this distribution, and is available at\r
7 # http://www.eclipse.org/legal/epl-v10.html\r
8 #\r
9 # Contributors:\r
10 #     VTT Technical Research Centre of Finland - initial API and implementation\r
11 ###############################################################################\r
12 # For the general syntax of property based configuration files see the\r
13 # documentation of org.apache.log4j.PropertyConfigurator.\r
14 \r
15 # The root category uses the appender called rolling. If no priority is\r
16 # specified, the root category assumes the default priority for root\r
17 # which is DEBUG in log4j. The root category is the only category that\r
18 # has a default priority. All other categories need not be assigned a\r
19 # priority in which case they inherit their priority from the\r
20 # hierarchy.\r
21 \r
22 # This will provide console output on log4j configuration loading\r
23 #log4j.debug=true\r
24 \r
25 log4j.rootCategory=warn, stdout\r
26 #log4j.rootCategory=warn\r
27 \r
28 # BEGIN APPENDER: CONSOLE APPENDER (stdout)\r
29 #  first:  type of appender (fully qualified class name)\r
30 log4j.appender.stdout=org.apache.log4j.ConsoleAppender\r
31 \r
32 #  second: Any configuration information needed for that appender.\r
33 #    Many appenders require a layout.\r
34 log4j.appender.stdout.layout=org.apache.log4j.TTCCLayout\r
35 # log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout\r
36 \r
37 # Possible information overload?\r
38 # log4j.appender.stdout.layout=org.apache.log4j.PatternLayout\r
39 #  additionally, some layouts can take additional information --\r
40 #    like the ConversionPattern for the PatternLayout.\r
41 # log4j.appender.stdout.layout.ConversionPattern=%d %-5p %-17c{2} (%30F:%L) %3x - %m%n\r
42 # END APPENDER: CONSOLE APPENDER (stdout)\r
43 \r
44 # BEGIN APPENDER: ROLLING FILE APPENDER (rolling)\r
45 #log4j.appender.rolling=com.tools.logging.PluginFileAppender\r
46 #log4j.appender.rolling=org.apache.log4j.FileAppender\r
47 log4j.appender.rolling=org.apache.log4j.RollingFileAppender\r
48 log4j.appender.rolling.File=procore.log\r
49 log4j.appender.rolling.append=true\r
50 log4j.appender.rolling.MaxFileSize=8192KB\r
51 # Keep one backup file\r
52 log4j.appender.rolling.MaxBackupIndex=1\r
53 log4j.appender.rolling.layout=org.apache.log4j.PatternLayout\r
54 #log4j.appender.rolling.layout.ConversionPattern=%p %t %c - %m%n\r
55 log4j.appender.rolling.layout.ConversionPattern=%-6r [%15.15t] %-5p %30.30c - %m%n\r
56 # END APPENDER: ROLLING FILE APPENDER (rolling)\r
57 \r
58 # BEGIN APPENDER: PLUG-IN LOG APPENDER (plugin)\r
59 log4j.appender.plugin=com.tools.logging.PluginLogAppender\r
60 log4j.appender.plugin.layout=org.apache.log4j.PatternLayout\r
61 #log4j.appender.plugin.layout.ConversionPattern=%p %t %c - %m%n\r
62 log4j.appender.plugin.layout.ConversionPattern=%-6r [%15.15t] %-5p %30.30c - %m%n\r
63 # END APPENDER: PLUG-IN LOG APPENDER (plugin)\r