voiceip / tinyphone

Minimalist Windows / OSx / Linux SIP Softphone with API Control
GNU General Public License v3.0
114 stars 36 forks source link

Log file always in the same file while running #78

Open SylPro opened 1 year ago

SylPro commented 1 year ago

When Tinyphone starts, it create a new log file. After it continue to write to this file all the time until shut off. Problem is when it run for long time and with many activities, log file grow on and on.

Proposed solution : Start a new log file each day (Close the previous one)

kingster commented 1 year ago

Hmm, looks like log rotation needs to be done for this case. In our production scenario, tinyphone usually doesn't run for so long, and gets relaunched everyday when support agents login at start of day (so we never faced this issue)