You should do your homework before posting for help as @nton always says ...
https://www.traccar.org/clear-history/
Refer to Clear Logs and Clear Database sections respectively.
Well... Then..
YOU should do your homework BEFORE ANSWERING.... PREFERRABLY READ WHAT I WROTE!!!
The problem IS NOT THAT THERE'S LOGS... THE PROBLEM IS THAT LOG DONT ROTATE!!!
Instead of having 1 LOG PER DAY now I HAVE 1 LOG SINCE LAST UPDATED and is ALMOST 1 GIGABYTE!!
I keep ALL LOGS FROM DAY ONE!! I DONT NEED TO DELETE THEM, I JUST NEED THE LOG FILE TO ROTATE EVERY DAY AS IT DID ON 5.xx VERSION.
Please refer to the following page, read the quote and act accordingly.
https://quoteinvestigator.com/2010/05/17/remain-silent/
I'm having this huge issue with logs since I started to use version 6.xx (currently using latest.
And I can't find what's the issue, there's no "extra" settings in config file about logs and before having this version, logs were rotated every day.
Any ideas?