Syslog severity levels?

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
howard@sci1.com
DD-WRT Novice


Joined: 11 Jul 2022
Posts: 44

PostPosted: Sat Mar 04, 2023 10:30    Post subject: Syslog severity levels? Reply with quote
DD-WRT: r50474
Router: Netgear R9000

I have configured DD-WRT to send syslog messages to an external syslogd. Working well, except it logs many trivial things (like connection to NTP server).

I can't find in the GUI a way to set the severity level for sent syslogs. (I do see it for firewall logging, but not for other syslogs).

I would like to set syslog severities at a minimum level of "Warning".

Thank you.
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6407
Location: UK, London, just across the river..

PostPosted: Sat Mar 04, 2023 10:42    Post subject: Reply with quote
if you set the firewall log to any settings, there will be lots of firewall related..
otherwise the major bad firewall events will be logged, even without setting any firewall level..
On the new builds there is a setting at NTP time down the bottom at basic setup page, to set the NTP time renewal intervals, so less stuff in the logs...mine is set to 43200 (12H)my preff..

otherwise via CLI (ssh)

nvram set ntp_timer=43200
nvram commit
reboot

i personally use the firewall log level (medium or any) only for diagnose and tracing stuff only, I dont use it in general...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55179 WAP
TP-Link WR1043NDv2 -DD-WRT 55303 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55460 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55460 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55363 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Mar 04, 2023 17:23    Post subject: Reply with quote
No need to use CLI on current releases. I use 86400 seconds for the NTP interval (once per day). Over-complicating things to seem l33t Rolling Eyes


ntpclientsettings.png
 Description:
 Filesize:  8.09 KB
 Viewed:  505 Time(s)

ntpclientsettings.png



_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum