Versions Compared

Key

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

...

  • To change the location (or name) of the log file, edit the value of the File parameter.
  • The log files will roll.  To change the max size of the log files that are created, edit the MaxFileSize value.
  • Since the log files roll over, you can change the number of log files to keep on hand.  For this you can edit the MaxBackupIndex value.
  • You can use <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender"> for date/time based rolling - see presetting in jboss-log4j.xml.

...