-
-
Notifications
You must be signed in to change notification settings - Fork 2
list debug
When used, this command will display the status of the debug setting in:
- Website configuration file (
web.config
) - Log4net configuration file (
DotNetNuke.log4net.config
) - Host Settings (security > more > debug mode)
If doing this manually, it can take several minutes in some cases and is prone to human error. Using this approach ensures you get all of the information you're looking for faster and without accidentally creating additional issues.
This helps you to identify if one of the settings is enabled when you didn't intend for it to be enabled.
You're not only saving time, but you're reducing risk and this does not require direct access to the server.
Command | Description |
---|---|
list-debug |
This command is purely read-only and will display status results to you. |
This prompt does not have any flags at this time.
If successful, you'll see a message like below in the Prompt window.
Debugging in the Host Settings is DISABLED.
Debugging in the web.config is DISABLED.
Debugging in the Log4Net logging is DISABLED.
Debugging is disabled throughout the site.
If one or more debug settings are enabled, you'll see a slightly different result, maybe similar to the example below.
Debugging in the Host Settings is DISABLED.
Debugging in the web.config is DISABLED.
Debugging in the Log4Net logging is ENABLED.
Debugging is enabled in one or more of the debugging areas. You should consider turning it off if this is not expected.
If an error occurs, it should be displayed to you in the Prompt window. If not, you'll find it in the Log4net log files.
None at this time.
Are you getting any value out of this content and/or the source code here?
Please consider becoming a sponsor. Any amount is appreciated!
This project is donated to the DNN Community and the world by Upendo Ventures.
If you need support or would like to sponsor an enhancement for any of our open-source projects, please contact us.