Shell script output?

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

Moderator: Mr_Noodle

Shell script output? Wed Jan 05, 2011 9:57 pm • by jeffcovey
Could someone tell me where the output of scripts run by Hazel goes? I'd like to see stderr if something chokes, or even informational messages from stdout. Am I supposed to pipe them to mail(1) or redirect them to a log file myself?

Thanks for your time,
Jeff
jeffcovey
 
Posts: 4
Joined: Wed Jan 05, 2011 9:49 pm

Re: Shell script output? Thu Jan 06, 2011 4:32 pm • by Mr_Noodle
Messages should go to Hazel's log in general. You can view the log either via the menubar icon menu or in the "Info" pane (click on "View Log"). If you want it to go elsewhere, though, feel free to pipe it wherever.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Shell script output? Fri Jan 14, 2011 2:12 pm • by jeffcovey
Mr_Noodle wrote:Messages should go to Hazel's log in general.


Thanks, I checked and found a stderr message in the log, but the stdout messages surrounding it (seen when I run the script in a terminal) weren't there. I'll just redirect it all myself.

Sincerely,
Jeff
jeffcovey
 
Posts: 4
Joined: Wed Jan 05, 2011 9:49 pm


Return to Support