OpenWrt Forum Archive

Topic: Howto echo to the systemlog?

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I've made some custom scripts and want to echo some information to the systemlog so it shows up when I run "logread". How do I do this, what device should I echo to? I've searched the forums and google, but all I can find is intructions on how to change a conf-file for some program to add to the systemlog, not exactly what I'm looking for. Any help appreciated!

logger "foo"

Thank you very much d@tenmaulwurf!! Exactly what I was looking for!! big_smile

smile

The discussion might have continued from here.