Skip to content

Instantly share code, notes, and snippets.

@pmuir
Forked from anonymous/standalone.xml
Created December 12, 2012 16:45
Show Gist options
  • Save pmuir/4269386 to your computer and use it in GitHub Desktop.
Save pmuir/4269386 to your computer and use it in GitHub Desktop.
<size-rotating-file-handler name="FILE">
<rotate-size>5MB</rotate-size>
<formatter>
<pattern-formatter
pattern="%d{yyyy/MM/dd HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n" />
</formatter>
<file relative-to="jboss.server.log.dir" path="server.log" />
<append value="true" />
</periodic-rotating-file-handler>
@jamezp
Copy link

jamezp commented Dec 12, 2012

@jamezp
Copy link

jamezp commented Dec 12, 2012

<size-rotating-file-handler name="sizeHandler" autoflush="true"> <file relative-to="jboss.server.log.dir" path="size.log"/> <rotate-size value="50m"/> <max-backup-index value="2"/> <append value="true"/> </size-rotating-file-handler>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment