LaunchAgent Logging path.
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
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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev
participants (2)
-
Dave Zarzycki
-
Tim Schooley