Results 1 to 3 of 3

Thread: retention of logs

  1. #1

    Default retention of logs


    how do to set the retention of logs in Wowza.

    Need keep only the last 5 logs.

    Is it possible?

    Thanks !

  2. #2
    Join Date
    May 2013


    I'm not sure log4j provides a mechanism within the DailyRollingFileAppender to specify the number of logs to keep before removing. You can alter the dateformat within it. You may be able to use the org.apache.log4j.RollingFileAppender in conjunction with MaxBackupIndex property.

    Alternatively you could manage this externally to log4j and run a cron script to remove older log files.


  3. #3
    Join Date
    Jun 2011


    If using unix/linux you could try to configure a cron job using tmpwatch.
    Most Linux systems have a tmpwatch cron job that cleans up the /tmp directory. You can add another that monitors your logging directory and deletes files over 7 days old.
    If you are using a different system, there are probably equivalent utilities.

    You can also roll the logs in WOwza using date/time and size, see this article.


Similar Threads

  1. Error in logs BufferUtils and show logs in terminal
    By livesreamingforall in forum General Forum
    Replies: 7
    Last Post: 06-30-2015, 06:53 AM
  2. Logs
    By FrankTrog in forum Server Administration
    Replies: 7
    Last Post: 04-11-2014, 07:37 AM
  3. help with logs
    By pezehk in forum General Forum
    Replies: 2
    Last Post: 06-25-2013, 02:12 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