AdguardTeam / AdguardTeam/AdGuardHome

[Feature request] [cli] Add simple live querylog

Offen
#1,428 6 Kommentare 16 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature request
Vorherrschende Sprache
TypeScript
Sterne
36.9k
Forks
2.5k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It would be great to have this feature via cli,
this would make debugging easier to allow or block domains.

I currently use 'tail' and 'jq' to have this,
using the 'querylog.json' file

tail -f ./querylog.json | jq -r '[(.T[0:19]|tostring|gsub("T"; " ")), .IP, .Result.IsFiltered, .QH]|@tsv'

But it would be great to have this natively,
maybe with:

'./AdguardHome --live_querylog'

And if possible add option with colors to make debugging even more easier
maybe with:

'./AdguardHome --live_querylog --color'

This is the idea, if it is approved, the final result does not necessarily have to be equal to that obtained with 'tail' and 'jq'

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.