AdguardTeam / AdguardTeam/AdGuardHome

[Feature request] [cli] Add simple live querylog

オープン
#1,428 コメント 6 件 リアクション 16 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

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'

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。