Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging no longer working #6372

Closed
4 tasks done
gmcdon opened this issue Oct 30, 2023 · 4 comments
Closed
4 tasks done

Logging no longer working #6372

gmcdon opened this issue Oct 30, 2023 · 4 comments
Labels
invalid Not an issue with AGH or a misunderstanding

Comments

@gmcdon
Copy link

gmcdon commented Oct 30, 2023

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.40

Action

Reviewing logs within query log has stopped updating since October 14th. Tested domains what are on allow and block lists.
Reviewed settings confirming logging is still enabled and log rotation is set to 7 days
Checked/confirmed AdGuard is up to date
Updated/rebooted hostOS

Expected result

DNS requests recorded within logs, highlighting blocked and allowed domains
Logs being rotated

Actual result

Domains correctly blocked/allowed but upon reviewing logs, no records of DNS requests
Log rotation not working past 7 days
Graph stats appear to be updating as expected

Additional information and/or screenshots

Install Raspberry Pi 3B on Raspbian

@ainar-g
Copy link
Contributor

ainar-g commented Oct 31, 2023

Reviewing logs within query log has stopped updating since October 14th. Tested domains what are on allow and block lists.

Reviewed settings confirming logging is still enabled and log rotation is set to 7 days

I'm not sure what you mean here. The query log retains one additional file, meaning that if the rotation interval is set to 7 days, you'll have about 14 days of query logs, which seems to be precisely what you're observing?

@ainar-g ainar-g added the waiting for data Waiting for users to provide more data. label Oct 31, 2023
@gmcdon
Copy link
Author

gmcdon commented Oct 31, 2023

Hope these screenshots make it easier to understand
Home screen the dashboard updates as normal
IMG_8756

log and stats configuration:
IMG_8758
IMG_8759

but when I go to the query log section, it has been static since Oct14th
IMG_8762

request details of the last 2 recorded entries:
IMG_8761
IMG_8760

@ainar-g
Copy link
Contributor

ainar-g commented Oct 31, 2023

Ah, I see, thanks. What are the settings in the querylog object in your configuration file? I.e.:

querylog:
  ignored: []
  interval: 2160h
  size_memory: 1000
  enabled: true
  file_enabled: true

Also, do you see any querylog-related errors in the verbose log?

@gmcdon
Copy link
Author

gmcdon commented Nov 1, 2023

Thank you for your help
For some reason, memory size had changed to 0. Modified the yaml config and set it to 1000, same as your example and now able to see queries in the query search again.

@gmcdon gmcdon closed this as completed Nov 1, 2023
@ainar-g ainar-g added invalid Not an issue with AGH or a misunderstanding and removed waiting for data Waiting for users to provide more data. labels Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not an issue with AGH or a misunderstanding
Projects
None yet
Development

No branches or pull requests

2 participants