AdguardTeam / AdguardTeam/AdGuardHome
[Feature request] [cli] Add simple live querylog
- Lingua principale
- TypeScript
- Stelle
- 36.9k
- Fork
- 2.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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'
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.