Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[12:34:25 CDT(-0500)] <drewwills> that too

[12:42:29 CDT(-0500)] <jwennmacher> That's a good suggestion. I was thinking the properties to put in local.properties are

[12:42:29 CDT(-0500)] <jwennmacher> portal.logging.rootLevel=WARN

[12:42:29 CDT(-0500)] <jwennmacher> # Directory to place portal and portlet log files into.

[12:42:29 CDT(-0500)]

Wiki Markup
 &lt;jwennmacher&gt; portal.logging.logfileDirectory=${catalina.base}/logs

[12:42:29 CDT(-0500)] <jwennmacher> # Assume a DailyRollingFileAppender is used. Set the pattern to daily log-file roll-overs.

[12:42:29 CDT(-0500)] <jwennmacher> # Can also set to hourly, weekly, etc.

[12:42:30 CDT(-0500)] <jwennmacher> # See http://logging.apache.org/log4j/1.2/apidocs/index.html

[12:42:30 CDT(-0500)] <jwennmacher> portal.logging.rollingLogFileDatePattern='.'yyyy-MM-dd

[12:42:31 CDT(-0500)] <jwennmacher> # Pattern to specify format of each log file entry. See http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/DailyRollingFileAppender.html

[12:42:31 CDT(-0500)]

Wiki Markup
 &lt;jwennmacher&gt; portal.logging.layoutConversionPattern=%5p \[%t\] %c{2}.\[%x\] %d{ISO8601} - %m%n

[12:42:32 CDT(-0500)] <jwennmacher> Any thoughts on other properties to consider (or elimination of some I have)? Log files seem to use the DailyRollingFileAppender. I don't see a reason to make the appender class file configurable; too many supplemental properties.