Extremely Large Log Files

Discussion in '3CX Phone System - General' started by Cory P, Jan 10, 2017.

Thread Status:
Not open for further replies.
  1. Cory P

    Joined:
    Jan 10, 2017
    Messages:
    12
    Likes Received:
    0
    Hello,

    In our C:\ProgramData\3CX\Instance1\Data\Logs repository on our Windows Server 2012 that hosts our 3CX server, there is a 3CXTunnel.log file that is 60GB in size.

    In 3CX management, it appears that logging was set to Verbose and to keep everything with previous employers, but now this is causing an issue due to space management and we are unable to delete the log file as it says it is open by 3cx PhoneSystem 01 SIP./RTP Tunneling Proxy.

    Is there a way to remove, delete, or lessen the size of this file
     
  2. Sopock

    Sopock Member

    Joined:
    Jul 11, 2012
    Messages:
    448
    Likes Received:
    20
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Drew9213

    Joined:
    Sep 16, 2015
    Messages:
    62
    Likes Received:
    3
    Kill all of your 3CX services and then try deleting the file.
     
  4. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,381
    Likes Received:
    279
    Also if you do not need verbose logging set it to medium or low and specify a number of days for logs to be kept
     
  5. Cory P

    Joined:
    Jan 10, 2017
    Messages:
    12
    Likes Received:
    0
    We have already changed logs from Verbose to Medium with retention of logs for 21 days.

    But if I was to kill all of the 3cx services, wouldn't that knock out the phone system for however long, which isn't very feasible for our situation at the company? I just wanted to see if there is a possible solution without disruption to the phone system on user's ends.
     
Thread Status:
Not open for further replies.