Customize the path of querylog.json file
Prerequisites
-
[X] I have checked the Wiki and Discussions and found no answer
-
[X] I have searched other issues and found no duplicates
-
[X] I want to request a feature or enhancement and not ask a question
Description
What problem are you trying to solve?
Write in /tmp of the host. Extend disk life
Proposed solution
Customize the path of querylog file
-e querylog_path=/tmp -v /tmp/log/adg:/tmp
Alternatives considered
Additional information
docker
If you want to store query logs only in system memory, you can set querylog_file_enabled: false in your AdGuardHome.json file.
If you want to store query logs only in system memory, you can set
querylog_file_enabled: falsein yourAdGuardHome.jsonfile.
I tried, but it didn't work
After restart, it will be restored querylog_file_enabled: true
Did you stop AdGuard Home before you edited and saved the file?
I didn't stop AdGuard Home before editing and saving files
thank you! It's work now.
Hello, where should I put querylog_file_enabled: false in the config file?