SBC Log Rollover

Discussion in 'Ideas' started by loyer, Feb 15, 2018.

  1. loyer

    Joined:
    May 5, 2016
    Messages:
    42
    Likes Received:
    4
    I am using SBC for Windows. It would be great if the logs would automatically rollover by date.

    e.g. instead of just 3cxsbc.log the logs files would be named 3cxsbc_20180215.log
    or.... 3cxsbc_YYYYMMDD.log


    BONUS, if we could adjust this in the config file:
    File=C:\ProgramData\3CXSBC\Logs\3cxsbc_{yyyymmdd}.log

    This would help so that I could write automated scripts to purge the log files, check their size by date (to get a sense if something is unusual). I realize that I could probably write a batch file to stop the service, rename the files and start it again at midnight every day. Maybe I'll just do that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...