Results 1 to 6 of 6

Thread: Change Trace Log retention period

  1. #1
    Join Date
    Oct 2013
    Location
    Latvia
    Posts
    15

    Change Trace Log retention period

    Hi All,

    I have 2016R4 patch 4 CIC. There is a default 8 day trace log retention period. How can I change this value?

    Best Regards,
    Alex.

  2. #2
    Join Date
    Aug 2012
    Location
    Indianapolis, IN
    Posts
    290
    Quote Originally Posted by aleksandr View Post
    Hi All,

    I have 2016R4 patch 4 CIC. There is a default 8 day trace log retention period. How can I change this value?

    Best Regards,
    Alex.
    The number of days that ININ trace logs are kept on a machine needs to be modified.
    Adjust the values by:

    Open System Properties (Right click 'My Computer' and click properties.)
    Select the Advanced tab
    Click the Environment Variables button
    In the System Variables section of the dialog, click NEW
    Use the variable name: ININ_TRACE_LOG_RETENTION
    Use the varaible value of the whole number of days you want to keep (1 to N days)

    Note: This change is not dynamic and requires a server reboot to take effect.

  3. #3
    Join Date
    Oct 2013
    Location
    Latvia
    Posts
    15
    Ryan, thanks for clue!

  4. #4
    Join Date
    Aug 2016
    Posts
    8

    Retention subsystem period

    Hi Ryan, we would like to try this out in our production environment after testing this change in DEV however our call volume would instantly fill up the drive if we had to turn up verbosity during a problem lasting longer than a day.
    Is there a way that we could change the retention of just certain subsystems rather than all of them? My guess is no, and this is just kind of a shot in the dark, and I am looking into ways to involve the task scheduler to move the compressed logs as an alternative. Thanks.

  5. #5
    Join Date
    Oct 2002
    Location
    Indianapolis
    Posts
    2,052
    Sorry, no, you cannot change retention for a single subsystem.

    Your best option might be to write a script to go through and delete the unwanted log files older than a certain amount of time and run it using Task Scheduler or something like that (or even write a timer-based handler to do it, I guess).
    George Ganahl
    Principal Education Technology Consultant

  6. #6
    Join Date
    Aug 2012
    Location
    Indianapolis, IN
    Posts
    290
    I have seen other people do just what you said have a scheduled task move the logs they wanted if its only a few.


    Or like George said, turn up retention then delete unwanted logs.


    Retention is an all or nothing.

Tags for this Thread

Posting Permissions

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