Can you write to the Hazel Log file from a shell script?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Subject line speaks for itself. I tried something like this

Code: Select all
doSomething && echo "It worked!" || echo "It did NOT work"


but that didn't add anything to the Hazel log window. Is there any way of adding text to the Hazel log from within a shell script action?
dburr
 
Posts: 4
Joined: Wed May 16, 2018 5:35 pm

Hazel normally does not log script output. You'll need to turn on debug mode as described here: https://www.noodlesoft.com/kb/hazel-debug-mode/

After that, any output from your script should appear.
Mr_Noodle
Site Admin
 
Posts: 11226
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Mr_Noodle wrote:Hazel normally does not log script output. You'll need to turn on debug mode as described here: https://www.noodlesoft.com/kb/hazel-debug-mode/

After that, any output from your script should appear.


Perfect, that actually makes sense, since I would only need to be able to print to the log while I am debugging a script action. Thanks!
dburr
 
Posts: 4
Joined: Wed May 16, 2018 5:35 pm


Return to Support