-
Notifications
You must be signed in to change notification settings - Fork 18
Logging
aysiu edited this page Jul 9, 2024
·
4 revisions
Outset logs to standard out and to the macOS system log
-
ERRORandINFOevents are always sent to stdout -
DEBUGevents will appear in the system log but can also be sent to stdout if Outset is invoked with the--debugargument
To view the system log use the Console app or run the following command in terminal to stream events:
log stream --predicate 'subsystem == "io.macadmins.Outset"' --info --debug
When using Console.app, don't forget to turn on "Include Info Messages" and "Include Debug Messages" from the Action menu
In addition, logs are written to /usr/local/outset/logs/outset.log if using a flat log file is preferred.
To enable debug logging to be recorded in the log file run the following:
sudo defaults write /Library/Preferences/io.macadmins.Outset.plist verbose_logging -bool true