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