1

Temat: logi - nie działa opcja: "poziom logowania"

Zauważyłem że zmiana poziomu logowania nie odnosi w zasadzie żadnego skutku
Aktualnie mam
root@OpenWrt:/etc/config# cat system |grep -i conloglevel
    option conloglevel '1'
mimo tego logowane są również wpisy innych poziomów niż 1 (alert)

Sat Oct 31 18:21:40 2015 daemon.notice openvpn(infolan)[6201]: OPTIONS IMPORT: timers and/or timeouts modified
Sat Oct 31 18:21:40 2015 daemon.notice openvpn(infolan)[6201]: OPTIONS IMPORT: --ifconfig/up options modified
Sat Oct 31 18:21:40 2015 daemon.notice openvpn(infolan)[6201]: OPTIONS IMPORT: route options modified
Sat Oct 31 18:21:40 2015 daemon.notice openvpn(infolan)[6201]: TUN/TAP device tun0 opened
Sat Oct 31 18:21:40 2015 daemon.notice openvpn(infolan)[6201]: TUN/TAP TX queue length set to 100
Sat Oct 31 18:21:40 2015 daemon.notice openvpn(infolan)[6201]: do_ifconfig, tt->ipv6=0,
Sat Oct 31 18:21:40 2015 daemon.notice netifd: Interface 'openvpn_tun0' is enabled
Sat Oct 31 18:21:40 2015 daemon.notice netifd: Network device 'tun0' link is up
Sat Oct 31 18:21:40 2015 daemon.notice netifd: Interface 'openvpn_tun0' has link connectivity
Sat Oct 31 18:21:40 2015 daemon.notice netifd: Interface 'openvpn_tun0' is setting up now
Sat Oct 31 18:21:40 2015 daemon.notice netifd: Interface 'openvpn_tun0' is now up

Sat Oct 31 18:38:19 2015 kern.info kernel: [ 1487.290000] u32 classifier
Sat Oct 31 18:38:19 2015 kern.info kernel: [ 1487.290000]     input device check on
Sat Oct 31 18:38:19 2015 kern.info kernel: [ 1487.290000]     Actions configured
Sat Oct 31 18:38:19 2015 kern.info kernel: [ 1487.330000] Mirror/redirect action on

system to openwrt CC 15.05
Z tego co udało mi się na szybko zorientować w BB i CC jest
http://wiki.openwrt.org/doc/howto/log.essentials
używany ubox
W jaki sposób można zatem wymusić zmianę poziomu logowania ?

2

Odp: logi - nie działa opcja: "poziom logowania"

Tyle ze conloglevel odnosi się do dmesg...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: logi - nie działa opcja: "poziom logowania"

Cezary napisał/a:

Tyle ze conloglevel odnosi się do dmesg...

Tego nigdzie nie udało mi się znaleźć.
Jak zatem ograniczyć poziom logowania domyślnego demona ?

4

Odp: logi - nie działa opcja: "poziom logowania"

Na http://wiki.openwrt.org/doc/uci/system to jest.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.