Good morning. Been having an issue that I did not really care to investigate until now. For some reason AdGuard queries are only being retained for 24ish hours although they are set for 90 days. Noticed one of the kids I am guessing tried to access a xxx site and was blocked but alas I cant see who or when as the log is not long enough. Anyone else with this issue?
Posted about this a while ago with no response. Since then have reset router to stock and still the same issue of logs only being kept for an hr or so sometimes less. I feel maybe there is a file size limit but thats just a guess. For giggles I setup Adguard on my home NAS and it keeps logs for the set time 30 days etc. Hopefully there is a solution as it's one of my main likes about the modem. Thanks!
Do you restart your router every night by chance?
It's default config file issues. Please try modify the /etc/AdGuardHome/config.yaml to enable write the log to file. like below
querylog:
dir_path: ""
ignored: []
interval: 2160h
size_memory: 100
enabled: true
file_enabled: true
And then restart the ADG in webui
Nope on for 9 days currently.
Thanks ill try this later.
No luck here at all. dir_path: "" was not listed under querylog: I tried to add it a few times but everytime AdGuard was turned on it got deleted. This is what I have there now. Seemed to work for a couple hours but now back to only an hour or so of query retention. Also of note my memory size was set to 1000 by default I changed as listed above to 100.
querylog:
enabled: true
file_enabled: true
interval: 2160h
size_memory: 100
ignored:
Update: set memory back to 1000 whatever that means and it has been going for a few hrs now. Tile will tell I guess.