What's new

Suppress "Custom Script Running" messages?

  • 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!

ScottW

Senior Member
I'm using Merlin 380.57 on an N66U.

I recently implemented a custom dhcpc-event script to log "bound" events. That works great.

But every time the script is called, the firmware posts an informational message to the system log, like this one:
Mar 4 12:39:02 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)

The router advertisement event (args: ra-updated) occurs about every 45 seconds. I understand that is normal, and my script ignores that event -- it only processes the "bound" events.

But the log is being flooded by the informational messages just saying that the script was called for each ra-updated event. For example:
Mar 4 12:35:54 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)
Mar 4 12:36:25 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)
Mar 4 12:36:56 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)
Mar 4 12:37:28 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)
Mar 4 12:37:59 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)
Mar 4 12:38:31 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)
Mar 4 12:39:02 custom script: Running /jffs/scripts/dhcpc-event (args: ra-updated)

Is there any way to suppress this particular message? It's great for debugging (i.e., making sure the script was called for an event), but it's filling up the log. I suppose I could turn off RA, but would rather have it functioning.
 
You cannot remove these, unless you modify the firmware's source code and recompile it.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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