One option would be to fix the problem that is causing the logs to be created.