Troubleshooting
Troubleshooting in Middleware involves diagnosing and resolving issues that might arise while you work with the softwares.
For advanced configurations, manually edit the Middleware plug-in configuration
file called plugin.ini.
How to Set the Logging Level
The logging level determines the amount of detail that is written to the
MiddlewarePlugin.log file.
The available logging levels are as follows:
- ERROR
- Contains errors related to the execution of the download plug-in, which might indicate an impending fatal error.
- WARNING
- Contains information about failed downloads, and reasons for failure.
- INFO
- Contains general information outlining the progress and successful downloads, with minimal tracing information.
- DEBUG
- Contains fine-grained information used for troubleshooting issues. This is the most verbose level available.
You can change the logging level option from the
[Logger] section of the
plugin.ini file.[Logger]
logfile = logs/MiddlewarePlugin.log
loglevel = DEBUGFor example, if the logging is set to INFO, the logger outputs any logs for that level and any level above it. In this case, it outputs the INFO, WARNING, and ERROR logs.
Note: Setting the logging level to DEBUG increases the amount of information to log, which might
impact performance. Only increase the logging level to DEBUG when investigating an issue, and switch
back to INFO or WARNING after the issue is resolved.