Disable adguard home logging whilst adguard home is enabled

Hi,

I'm trying to get to the root of my internet disconnects on my flint 2 however unfortunately whenever the internet goes down the logs are spammed with adguard queries that have failed.

How can I adjust the log levels to not log anything from adguard home in syslog?

Maybe disable Adguard for the time being while troubleshooting?

Hi

You can SSH into the router and use the following command to filter out ADG Home logs.

logread -f | grep -v AdGuardHome

I just stopped adguard from writing to syslog

root@GL-MT6000:~# cat /etc/init.d/adguardhome
#!/bin/sh /etc/rc.common
# shellcheck disable=SC2034
# shellcheck disable=SC3043
USE_PROCD=1

START=99

. /lib/functions/gl_util.sh
model=$(get_model)

start_service() {
    [ "$(uci -q get adguardhome.config.enabled)" = "1" ] || exit 0

    mkdir -p /etc/AdGuardHome

    #b1300 dose not support mmap,need link the data to tmp fs
    [ "$model" = "b1300" ] && {
        rm -rf /etc/AdGuardHome/data 2>/dev/null
        mkdir -p /tmp/AGH_data
        ln -s /tmp/AGH_data /etc/AdGuardHome/data
    }

    /etc/init.d/firewall reload

    procd_open_instance
    procd_set_param respawn
    procd_set_param group explicitvpn
#    procd_set_param stderr 1
#    procd_set_param command /usr/bin/AdGuardHome --glinet --no-check-update -c /etc/AdGuardHome/config.yaml -w /etc/AdGuardHome -l syslog
    procd_set_param stderr 1
    procd_set_param command /usr/bin/AdGuardHome --glinet --no-check-update -c /etc/AdGuardHome/config.yaml -w /etc/AdGuardHome
    procd_close_instance
}

stop_service(){
    /etc/init.d/firewall reload
}

because I want to continue using AdGuard Home even for the time being.