You can enable debug logging on the Endpoint Agent to collect diagnostic logs. Support may request these logs to provide assistance with OneView. Windows, Mac, and Linux endpoints support debug logging, which is enabled either from the Windows tray icon, Mac menu bar icon, or the command line.
Enable debug logging from an endpoint
- Perform one of the following, depending if you're using Windows or Mac:
- Windows: Hold the Control key and right-click the endpoint agent icon in the Windows tray.
- Mac: Hold the Control key and left-click the endpoint agent icon in the menu bar.
- Select Enable debug logging from the menu. You can disable debug logging using the same steps.
Enable debug logging using the command line
If you need to enable debug logging without direct access to an endpoint, you may do so over a remote connection and terminal commands.
The following examples assume you have the Endpoint Agent installed in the default directory. If not, you will need to adjust the file path accordingly to match where you have installed the Endpoint Agent.
Windows command line
- To enable debug logging, enter the following command on the endpoint:
C:\Program Files\Malwarebytes Endpoint Agent\MBCloudEA.exe -loglevel=debug
- To disable debug logging, enter the following command on the endpoint:
C:\Program Files\Malwarebytes Endpoint Agent\MBCloudEA.exe -loglevel=info
Mac command line
- To enable debug logging, enter the following command on the endpoint:
sudo "/Library/Application Support/Malwarebytes/Malwarebytes Endpoint Agent/EndpointAgentDaemon.app/Contents/MacOS/EndpointAgentDaemon" -loglevel=debug
- To disable debug logging, enter the following command on the endpoint:
sudo "/Library/Application Support/Malwarebytes/Malwarebytes Endpoint Agent/EndpointAgentDaemon.app/Contents/MacOS/EndpointAgentDaemon" -loglevel=info
Linux command line
- To enable debug logging, enter the following command on the endpoint:
sudo mblinux configure LOGLEVEL=debug
- To disable debug logging, enter the following command on the endpoint:
sudo mblinux configure LOGLEVEL=info
Generate and collect diagnostic logs
Once your endpoints have debug logging enabled, reproduce your issue on the endpoint before collecting diagnostic logs. Logs can be sent as email attachments to Support to help them troubleshoot your issue.
To collect diagnostic logs, see Collect Endpoint Agent diagnostic logs in OneView.