6.5.5.2 MPLAB Logger
When using the MPLAB Logger, you can capture data in two log files: MPLAB X IDE log file and the NetBeans platform log file.
MPLAB X IDE Log File
The MPLAB X IDE log file generates data based on the Java Logger class.
To set up a log file:
- Select MPLAB X IDE > Preferences for macOS), Embedded button, Diagnostics tab. (
- Select a logging level from the drop-down box.Note: The higher the logging level, the more data is collected, but the slower your application will run.
- Select a location (path) for the log file.
To log data:
- Set up the log file using logging level Finest.
- Take note of the log file name and location.
- Repeat the steps to cause the error or issue.
- Find the log file(s) and send to technical support along with other requested information.
NetBeans Platform Log File
The NetBeans log file generates information on the executing NetBeans Platform.
To log data:
- Open the log file the Output window by selecting .
- Right click in the window and select Clear.
- Repeat the steps to cause the error or issue.
- Right click in the window and select Save As to save the text to a file.
- Send the file to technical support with other requested information.
Logging Considerations
When logging with MPLAB Logger, keep the log files as short and focused as possible. That is, instead of running code and logging for a long time till an error occurs, attempt to capture a more focused run just before the error.