終端機App中的Self Service+記錄檔和偵錯

Jamf Connect 說明文件

Solution
Application
Jamf Connect
Content Type
技術說明文件
Utilities & Services
ft:locale
zh-TW

您可在詳細資訊模式中執行Self Service+,並收集記錄檔,以協助對問題進行疑難排解。

Note:

如要提高記錄檔級別,可從 Jamf Connect DMG 下載並安裝偵錯記錄設定描述檔。安裝期間,在終端機命令中加入--debug時,Jamf Connect記錄檔會包含更詳細的錯誤訊息。

可使用下列任何常用命令,以從Self Service+收集記錄檔。

命令

輸出

log show --style compact --predicate 'subsystem == "com.jamf.connect"' --debug > ~/Desktop/JamfConnect.log

將所有歷史記錄檔輸出至檔案。

log show --style compact --predicate 'subsystem == "com.jamf.connect"' --debug --last 30m > ~/Desktop/JamfConnect.log

將近期記錄檔輸出至檔案。此範例會收集前 30 分鐘內的記錄檔。

log stream --style compact --predicate 'subsystem == "com.jamf.connect"' --debug

在「終端機」中串流目前記錄檔