What's new

[SOLVED] post own events to asus merlin system log

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

busch09

Regular Contributor
Hi,

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.

cheers
Chris
 
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!
Top