How to confirm in detail the cause of "removing service since it exited with consistent failure - OS_REASON_EXEC"

Hi all,

We are getting a "removing service since it exited with consistent failure - OSREASONEXEC" message for our binary running as service under LaunchDaemons.

system.log:
Nov 25 14:01:45 MacBookAirnoMacBook-Air com.apple.xpc.launchd[1] (com.test.realtime.scan[2377]): removing service since it exited with consistent failure - OSREASONEXEC
Nov 25 14:01:45 MacBookAirnoMacBook-Air com.apple.xpc.launchd[1] (com.test.realtime.scan): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.


How can we confirm in detail the cause of this error?

Thanks in advance for your help.
How to confirm in detail the cause of "removing service since it exited with consistent failure - OS_REASON_EXEC"
 
 
Q