Traccar Logs getting too bulky, Can I delete: tracker-server.log

Zuo Bruno6 years ago

Hello, I am using Traccar on a Linux server. The logs created always get too heavy and block access to the web interface, The solution I have been using is deleting the log files manually (which as you know gets really frustrating especially when I am not working) I wish to ask if deleting the file tracker-server.log will cause any harm and if its a good idea and also I wish to ask if I can automate the process every 24 hours or so to delete (automatically) the logs of the previous day or week or so.

Thanks

Ernesto Vallejo6 years ago

Check here for config file parameters @ logger parameters.
Removing log files will not do any harm to current process.
If you can remove files manually, for sure you can implement cron job for identical process.
Just remember that log files do exist for a reason.
Regards

Zuo Bruno6 years ago

Thanks alot @Ernesto