Joined: 16 Aug 2021 Posts: 81 Location: Oxford, UK.
Posted: Sat Feb 12, 2022 16:16 Post subject:
I’d write: ‘USB sticks not recommended for saving logs due to wear. USB HDD is preferred for this reason!’ I am sure I’ve read this somewhere already. I wouldn’t even mention jffs since it doesn’t seem appropriate here. _________________ Hardware (Device/Firmware/Roles):
Netgear RAX50 | Stock | Gateway, DHCP, AP, NAS.
Netgear WNDR4500v2 | FreshTomato | Router, WAP (2G), WDS-AP (5G), Samba, Torrent Client.
Netgear WNDR4500v2 | FreshTomato | Router, WAP (2G), WDS-AP (5G).
@ egc I modified with the new recommendation made by you ,it seems that now it displays the information correctly, but notice that via the web I no longer have the updated information
@ egc I modified with the new recommendation made by you ,it seems that now it displays the information correctly, but notice that via the web I no longer have the updated information
# link /jffs/messages to /tmp/var/log/messages and make the logs readable in the WebIF
We could set a script to delete the information within a certain interval, every 7 days or 5 days, or even after a restart ?
I notice that he remembers all the logs since I let them on USB memory! _________________ Internet provider https://en.wikipedia.org/wiki/RCS_%26_RDS 1Gbps
WDR3600 rev.1.5 - DD-Wrt
Linksys WRT1900ACS v.2 DD-Wrt/-OpenWrt
in cron Jobs I still have a script from adblock, I can pass it under the first script ?
I'm sorry to ask so many questions, but I really don't know how these scripts work _________________ Internet provider https://en.wikipedia.org/wiki/RCS_%26_RDS 1Gbps
WDR3600 rev.1.5 - DD-Wrt
Linksys WRT1900ACS v.2 DD-Wrt/-OpenWrt
On the one SD card in one of my raspberrys I have already written 3TB of logs and the card is still alive.
If it dies then I just buy a new one for a few €.
System logging utility
(this version of syslogd ignores /etc/syslog.conf)
-n Run in foreground
-Z Adjust incoming UTC times to local time
-R HOST[:PORT] Log to HOST:PORT (default PORT:514)
-L Log locally and via network (default is network only if -R)
-C[size_kb] Log to shared mem buffer (use logread to read it)
-O FILE Log to FILE (default: /var/log/messages, stdout if -)
-s SIZE Max size (KB) before rotation (default 200KB, 0=off)
-b N N rotated logs to keep (default 1, max 99, 0=purge)
-l N Log only messages more urgent than prio N (1-
-S Smaller output
-t Strip client-generated timestamps