Is there a required/expected environment? #298
-
When I run a script manually, flog logs messages correctly. When I run the script via a LaunchDaemon, flog logs the level, subsystem and category but the message is blank. I know the launchd environment outside of a console session is quite minimal... is there some env variable flog is expecting to be set? Some other parameter in my LaunchDaemon I need to set for flog to function? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I think this is the relevant bit:
|
Beta Was this translation helpful? Give feedback.
-
I tried ad-hoc code-signing flog which got rid of the errors but did not change the behavior, and still getting the kernel quarantine message. There's no quarantine flag on the binary. I need to get our updated Developer ID Application cert from my boss to try signing it with a trusted certificate. I wonder if it also needs a PPPC permission granted. |
Beta Was this translation helpful? Give feedback.
-
Can you confirm whether release v1.7.0 is affected? I suspect the requirement for |
Beta Was this translation helpful? Give feedback.
-
v1.7.0 resolves this issue as well! 🎉 Thank you! |
Beta Was this translation helpful? Give feedback.
Can you confirm whether release v1.7.0 is affected? I suspect the requirement for
stdin
to be connected to a terminal in previous versions may be responsible for this.