[SOLVED] How can I write to system.log from a shell script?
-
I have a custom shell script, and I would like to be able to write a message to system.log. Is there a way to do this?
-
Using logger.
For example:
# Fan control loop logger Fan control started
Or
echo "Fan control started" | logger
Steve
-
@stephenw10 Thanks - that is exactly what I need!