Teamviewer logs


I have a question about Teamviewer logs. How long the teamviewer log files are stored in my windows pc? does it store the record from first connection or it stores the record of last 2-3 months and replace it everytime?

I'm slightly confused about it. Also can the teamviewer logs be deleted automatically after certain amount of time like 30 days?