Browse Source

Added log4j.properties

Andreas Mülder 11 years ago
parent
commit
216226ee38
1 changed files with 27 additions and 0 deletions
  1. 27 0
      plugins/org.yakindu.base.expressions/log4j.properties

+ 27 - 0
plugins/org.yakindu.base.expressions/log4j.properties

@@ -0,0 +1,27 @@
+# Log configuration for Xtext logging.
+# This log configuration will be used for the UI parts of Xtext.
+#
+# For your convenience: valid log levels are (from least to most significant):
+# TRACE, DEBUG, INFO, WARN, ERROR and FATAL
+# Log4J manual: http://logging.apache.org/log4j/1.2/manual.html
+# Xtext log configuration info: http://wiki.eclipse.org/Xtext_Project_Plan/Features/Logging
+
+# Root logger configuration. Don't change this.
+log4j.rootLogger=DEBUG, default
+
+# This appender will write to the stdout console
+log4j.appender.default=org.apache.log4j.ConsoleAppender
+log4j.appender.default.layout=org.apache.log4j.PatternLayout
+log4j.appender.default.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+# This appender will write to the Eclipse error log. It will ONLY log ERROR and FATAL messages.
+log4j.appender.eclipse=org.eclipse.xtext.logging.EclipseLogAppender
+log4j.appender.eclipse.layout=org.apache.log4j.PatternLayout
+log4j.appender.eclipse.layout.ConversionPattern=%c %x - %m%n
+
+# Configure your log categories below:
+log4j.logger.org.eclipse=WARN
+log4j.logger.org.eclipse.xtext=WARN
+log4j.logger.org.eclipse.xtext.ui.editor.outline=WARN
+log4j.logger.org.eclipse.xtext.ui.editor.contentassist.antlr.internal=WARN
+