1. Don Brown
  2. confluence-remote-html-macros

Commits

Don Brown  committed 44fb523

Custom log file

  • Participants
  • Parent commits 8caadbc
  • Branches master

Comments (0)

Files changed (2)

File Procfile

View file
  • Ignore whitespace
-web: java $JAVA_OPTS -jar target/remotable-plugins-container-standalone.jar target/confluence-remote-html-macros.jar
+web: java $JAVA_OPTS -cp src/main/classpath:target/remotable-plugins-container-standalone.jar com.atlassian.plugin.remotable.container.Main target/confluence-remote-html-macros.jar

File src/main/classpath/log4j.properties

View file
  • Ignore whitespace
+# Set root category priority to INFO and its only appender to CONSOLE.
+log4j.rootCategory=WARN, CONSOLE
+#log4j.rootCategory=INFO, CONSOLE, LOGFILE
+
+# Set the enterprise logger category to FATAL and its only appender to CONSOLE.
+#log4j.logger.com.atlassian.plugin=DEBUG, CONSOLE
+log4j.additivity.com.atlassian.plugin = false
+
+#log4j.logger.com.atlassian.plugin.servlet=INFO
+#log4j.logger.org.apache.http.wire=DEBUG
+log4j.logger.com.atlassian.plugin.remotable=INFO
+log4j.logger.org.twdata.pkgscanner=ERROR
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=- [%t] %m%n
+