cmdReporter Wiki

Open navigation

cmdReporter Debug Mode

Run cmdReporter in debug mode

When cmdReporter is executed with the -D flag operational information is printed to STDOUT for display in a terminal application.

To run cmdReporter in debug mode:

# Unload the background services
sudo launchctl unload /Library/LaunchDaemons/com.cmdsec.cmdReporter.plist
launchctl unload "/Library/LaunchAgents/com.cmdsec.cmdReporterHelper.plist" 

# Run cmdReporter in debug mode
sudo /Applications/ -D

Reading cmdReporter debug output

The debug output will show which output modules were configured correctly and output any preference or operational logs such as connection failures. cmdReporter will continue to log additional output as it runs to assist in troubleshooting network connections or preference issues.

Example cmdReporter -D output

 $ sudo /Applications/ -D
cmdReporter: Operating System Version: macOS 10.15.5 (Build 19F101)
cmdReporter: 2 logger(s) were successfully initialized.
     * FileAppenderLogger (/var/log/cmdReporter.log) is valid
     * RemoteEndpointLogger (https://your.splunk.server:8088/services/collector/raw) is valid
cmdReporter: Generating logs in JSON format
UnifiedLogService: Predicate Ignored! The predicate cannot be evaluated:
RemoteEndpointLogger: Failed to send 67 messages to the server. Error:The Internet connection appears to be offline.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.