]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.procore/log4j.properties
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.db.procore / log4j.properties
diff --git a/bundles/org.simantics.db.procore/log4j.properties b/bundles/org.simantics.db.procore/log4j.properties
new file mode 100644 (file)
index 0000000..cb51e94
--- /dev/null
@@ -0,0 +1,63 @@
+###############################################################################\r
+# Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
+# in Industry THTH ry.\r
+# All rights reserved. This program and the accompanying materials\r
+# are made available under the terms of the Eclipse Public License v1.0\r
+# which accompanies this distribution, and is available at\r
+# http://www.eclipse.org/legal/epl-v10.html\r
+#\r
+# Contributors:\r
+#     VTT Technical Research Centre of Finland - initial API and implementation\r
+###############################################################################\r
+# For the general syntax of property based configuration files see the\r
+# documentation of org.apache.log4j.PropertyConfigurator.\r
+\r
+# The root category uses the appender called rolling. If no priority is\r
+# specified, the root category assumes the default priority for root\r
+# which is DEBUG in log4j. The root category is the only category that\r
+# has a default priority. All other categories need not be assigned a\r
+# priority in which case they inherit their priority from the\r
+# hierarchy.\r
+\r
+# This will provide console output on log4j configuration loading\r
+#log4j.debug=true\r
+\r
+log4j.rootCategory=warn, stdout\r
+#log4j.rootCategory=warn\r
+\r
+# BEGIN APPENDER: CONSOLE APPENDER (stdout)\r
+#  first:  type of appender (fully qualified class name)\r
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender\r
+\r
+#  second: Any configuration information needed for that appender.\r
+#    Many appenders require a layout.\r
+log4j.appender.stdout.layout=org.apache.log4j.TTCCLayout\r
+# log4j.appender.stdout.layout=org.apache.log4j.SimpleLayout\r
+\r
+# Possible information overload?\r
+# log4j.appender.stdout.layout=org.apache.log4j.PatternLayout\r
+#  additionally, some layouts can take additional information --\r
+#    like the ConversionPattern for the PatternLayout.\r
+# log4j.appender.stdout.layout.ConversionPattern=%d %-5p %-17c{2} (%30F:%L) %3x - %m%n\r
+# END APPENDER: CONSOLE APPENDER (stdout)\r
+\r
+# BEGIN APPENDER: ROLLING FILE APPENDER (rolling)\r
+#log4j.appender.rolling=com.tools.logging.PluginFileAppender\r
+#log4j.appender.rolling=org.apache.log4j.FileAppender\r
+log4j.appender.rolling=org.apache.log4j.RollingFileAppender\r
+log4j.appender.rolling.File=procore.log\r
+log4j.appender.rolling.append=true\r
+log4j.appender.rolling.MaxFileSize=8192KB\r
+# Keep one backup file\r
+log4j.appender.rolling.MaxBackupIndex=1\r
+log4j.appender.rolling.layout=org.apache.log4j.PatternLayout\r
+#log4j.appender.rolling.layout.ConversionPattern=%p %t %c - %m%n\r
+log4j.appender.rolling.layout.ConversionPattern=%-6r [%15.15t] %-5p %30.30c - %m%n\r
+# END APPENDER: ROLLING FILE APPENDER (rolling)\r
+\r
+# BEGIN APPENDER: PLUG-IN LOG APPENDER (plugin)\r
+log4j.appender.plugin=com.tools.logging.PluginLogAppender\r
+log4j.appender.plugin.layout=org.apache.log4j.PatternLayout\r
+#log4j.appender.plugin.layout.ConversionPattern=%p %t %c - %m%n\r
+log4j.appender.plugin.layout.ConversionPattern=%-6r [%15.15t] %-5p %30.30c - %m%n\r
+# END APPENDER: PLUG-IN LOG APPENDER (plugin)\r