AdguardTeam / AdguardForWindows

AdGuard for Windows open bug tracker
https://adguard.com/
690 stars 72 forks source link

Want to add the function of disable the filter log #5241

Closed REIJI007 closed 1 month ago

REIJI007 commented 2 months ago

Issue Details

Have you considered adding a feature that does not save logs? Whenever my C drive runs out of space, I find that the path C:\ProgramData\Adguard\Logs contains a large number of Adguard filtering logs. When there are many filter rules, the logs often fill up the C drive. If a 'do not save logs' feature is enabled, manual cleaning will no longer be needed frequently, which would be more convenient.

Proposed solution

Add a log level called disabled

Alternative solution

No response

Aydinv13 commented 1 month ago

@REIJI007 Hello there!

Actually, the logs are removed automatically every 3 days. As for the size, you can set Default logging level so that you don't have a lot of logs written to disk.