I do not know how to delete but you can start a "running" dump of the syslog.
tail -fn40 /var/log/messages
Or see only last x number of messages
tail -n40 /var/log/messages
Thank You..
I am not even sure if it is possible to erase it but I figure since it is just a text file it may be possible. Can't find anything in a web search so I may be wrong.
Joined: 04 Aug 2018 Posts: 1445 Location: Appalachian mountains, USA
Posted: Sun Mar 28, 2021 17:22 Post subject:
Try the command
Code:
: >/var/log/messages
from the CLI. No guarantees, as I haven't tried it. And that's a space (one or more of them) after the colon.
This is a linux thing, not a dd-wrt thing. The colon as a command makes the file exist (if it doesn't already) and be empty. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.