Results 1 to 4 of 4

Thread: Auto deletion of log files

  1. #1

    Default Auto deletion of log files

    Is there any way to age out and delete older log files automatically?

    JohnA

  2. #2

    Default

    Hello there.

    Yes, the log4j file has some options for this. Take a look at this guide:
    How to configure log rolling by time and size

    Kind regards,

    Salvadore

  3. #3

    Default

    Thanks salvadore, It looks like MaxBackupIndex is the parameter to control this. But comments show that this may not be supported. We are just going to turn off logging and turn it on only when a problem needs to be addressed.

    JohnA

  4. #4
    Join Date
    Aug 2013
    Posts
    8

    Default

    Same situation here: tried to use MaxBackupIndex but found it isn't supported by DailyRollingFileAppender (it's specific to RollingFileAppender).
    We ended up setting a scheduled task that cleans logs older than X days

Similar Threads

  1. HTTPProvider for reading log files.
    By fly135 in forum Server Administration
    Replies: 2
    Last Post: 09-08-2014, 08:42 AM
  2. Duration in Log Files not accurate???
    By jim@ensemblevideo.com in forum General Forum
    Replies: 1
    Last Post: 08-19-2014, 07:22 AM
  3. Upgrade & tuning; Log files maintenance; Pause, rewind deleting of live cached files
    By franklyn in forum Wowza Streaming Engine functionality
    Replies: 1
    Last Post: 07-22-2013, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •