How to stop unneeded gamelogs

My SSD is being bombarded with thousands of tiny txt files for no reason. How can I stop them from being written to disk?

You could turn the Logs off within the ingame Settings:

Will that stop gamelogs as well?

Edit. Nope gamelogs are still created.

Solved this issue by setting up a task that deletes the game logs.