Skip to content

why in openwrt all the syslog messages are put in daemon.err category? #3016

@rezad1393

Description

@rezad1393

In openwrt apps write their messages to syslog.

Most app use correct categorization for different kind of messages:
fatal,error,warn,notice,debug and so on.

But it seems that dnscrypt-proxy daemon uses error category (daemon.err) for everything and then puts the text [NOTICE] and [ERROR] and the start of messages.

like this:

Wed Feb 21 06:50:32 2024 daemon.err dnscrypt-proxy[507]: [2024-02-21 06:50:32] [NOTICE] Firefox workaround initialized
Wed Feb 21 06:50:32 2024 daemon.err dnscrypt-proxy[507]: [2024-02-21 06:50:32] [ERROR] Get "https://dns.google/dns-query?dns=yv4BAAABAAAAAAABAAACAAEAACkQAAAAAAAAFAAMABChWRjkGcv7ERDvlbOkfdoH": dial tcp 8.8.8.8:443: connect: network is unreachable

this messes with log reading software.

can this be fixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions