From 204756cffb0c2ee078a4c76d51b5ecae0b4475b2 Mon Sep 17 00:00:00 2001 From: garywill Date: Mon, 3 Jan 2022 20:30:11 +0800 Subject: [PATCH] more logs --- lnxrouter | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lnxrouter b/lnxrouter index 7caa817..a41cd6c 100755 --- a/lnxrouter +++ b/lnxrouter @@ -1957,12 +1957,18 @@ init_trap init_conf_dirs # CONFDIR , COMMON_CONFDIR . make dir +echo "setting NM log level: nmcli general logging level TRACE domains ALL" +nmcli general logging level TRACE domains ALL + +echo "Logging journalctl -f" journalctl -f & echo $! > $CONFDIR/journalctl.pid +echo "Logging dmesg -W" dmesg -W & echo $! > $CONFDIR/dmesg.pid +echo "Logging wpa_supplicant.log" tail -f /var/log/wpa_supplicant.log & echo $! > $CONFDIR/wpa_supplicant_log.pid