Reading Logs

On macOS Launcher runs as a launchd service. It logs to the files  /var/log/kolide-k2/launcher-stderr.log  and /var/log/kolide-k2/launcher-stdout.log

If you're having trouble, please send these to support.

Debug Mode

Launcher can be configured to log with various debug levels. You can do this by running the following command in a terminal window. It needs root permission, and will prompt you for your password.

sudo pkill -SIGUSR2 -f /usr/local/kolide-k2/bin/launcher

debug mode can be turned off by running that same command.

Debugging Launchd

On very rare occasions, macOS launchd will not correct load the agent.

1. Run sudo launchctl print 'system/com.kolide-k2.launcher' This will either return a great deal of debugging, or it might say Could not find service

2. If it cannot find the service, try sudo /bin/launchctl load /Library/LaunchDaemons/com.kolide-k2.launcher.plist

3. If this tells you the service is disabled, try sudo launchctl enable 'system/com.kolide-k2.launcher' and then the load command again

Did this answer your question?