Skip to content

[Feature request] [cli] Add simple live querylog #1428

Description

@JoseGalRe

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'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions