Guest User

Untitled

a guest
Jan 24th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. <RollingRandomAccessFile name="RollingRequestAppender"
  2. fileName="/mypath/log/requests.log"
  3. filePattern="/mypath/log/requests.log.%d{yyyy-MM-dd-HH-mm}.gz"
  4. immediateFlush="false" append="true">
  5. <DefaultRolloverStrategy
  6. fileIndex="nomax"
  7. tempCompressedFilePattern="/mypath/log/requests.log.%d{yyyy-MM-dd-HH-mm}.gz.tmp"/>
  8. <PatternLayout>
  9. <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS Z}%m%n</Pattern>
  10. </PatternLayout>
  11. <Policies>
  12. <TimeBasedTriggeringPolicy interval="1" modulate="true" />
  13. </Policies>
  14. </RollingRandomAccessFile>
  15.  
  16. filePattern="/mypath/log/requests.log.%d{yyyy-MM-dd-HH-mm}"
  17. immediateFlush="false" append="true">
Add Comment
Please, Sign In to add comment