Skip to content

Add verbose logging for debugging#3

Open
techroy23 wants to merge 1 commit intoJonanekDev:masterfrom
techroy23:master
Open

Add verbose logging for debugging#3
techroy23 wants to merge 1 commit intoJonanekDev:masterfrom
techroy23:master

Conversation

@techroy23
Copy link
Copy Markdown

Summary

  • Added verbose logging throughout the AdGuard Home Exporter to improve debugging and monitoring capabilities.

Changes

  • Added timestamped logging for all HTTP requests (/metrics and 404s)
  • Added startup configuration details (port, scrape interval, configured servers)
  • Added status fetch details (running state, protection enabled, DHCP available)
  • Added stats fetch details (DNS queries count, blocked count, average processing time)
  • Added top clients and blocked domains logging (top 3)
  • Added completion messages after successful fetches

Testing

Run the exporter with verbose output to verify:

  • npm start

All timestamps are in ISO 8601 format for easy parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant