What's new

[SOLVED] post own events to asus merlin system log


Regular Contributor

is it possible to post an event to the syslog from a sh script on /jffs?
I found logger but "logger -s -p user.info Testing" doesnt do it.



Part of the Furniture
Your command worked for me via the command line. What happens for you? Anything?

Ronald Schwerer

Very Senior Member
funny now it works on mine as well.
Maybe sometimes the log entry got delayed due to buffering. Try doing a sync, then check the log.
Using logger on my 68U (ASUS firmware) I've noticed a long latency before the message shows up in syslog. I've since added a couple sync commands and it seems better.
This seems strange since every Linux system I've worked on the log messages were explicitly flushed. But those were system library calls, not a stand-alone busybox program.
Last edited:

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!