View macOS Server logs
Use the Logs pane of the Server app to view the message logs kept by macOS Server software components as they provide services.
macOS Server maintains standard UNIX log files and Apple-specific process logs. These logs include the messages you see in alert dialogs, and messages you won’t see anywhere else about routine actions, warnings, and errors. If you received an error message in a dialog, a log may show additional detail about the issue.
Select Logs in the Server app sidebar.
Click the pop-up menu, then choose a log.
Show only log entries that contain a word or phrase. Enter a word or phrase in the field at the bottom of the window, then click the pop-up menu, then choose Filter Log.
Find a word or phrase in the log you’re viewing. Enter a word or phrase in the field at the bottom of the window, click the pop-up menu, then choose Search Log, then scroll through the log contents.
All occurrences of the search text are highlighted in the log.
You can also view macOS Server logs and other logs using the Console app (located in /Applications/Utilities/). You can view messages written by specific processes or apps, search logs based on multiple criteria, and have Console notify you when a log is updated.