[launchd-dev] LaunchAgent Logging path.

Dave Zarzycki zarzycki at apple.com
Tue Aug 19 08:27:29 PDT 2008


Tim,

Globbing ("man 3 glob") is not yet supported for StandardOutPath or  
StandardErrorPath. Please strongly consider using the syslog(3) or  
asl_log(3) family of API.

davez



On Aug 19, 2008, at 2:01 AM, Tim Schooley wrote:

> Hi all!
>
> I can't seem to get my LaunchAgent to log to a user-specific location.
>
> For example, the following doesn't work (no log file is created):
>
>    <key>StandardOutPath</key>
>    <string>~/mylog.log</string>
>
> Is there any way for each instance of the LaunchAgent to have its  
> own log
> file?
>
> Thanks for any help!
>
> Kind regards,
>
> Tim
>
> _______________________________________________
> launchd-dev mailing list
> launchd-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev



More information about the launchd-dev mailing list