---
schema_version: "1"
id: f2c627737f0ba111b437ee7a0ea10963c91ee51f472a6635ebb4b361cef4079f
title: Troubleshooting Spring Module
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/spring-module/2.0/spring-module-troubleshooting.md
canonical_url: https://docs.mulesoft.com/spring-module/2.0/spring-module-troubleshooting
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 4d8df9434a461901a30db08945f69ba3a4938cb9f20cd00f500403d04babe334
description: MuleSoft Documentation Site
release: "2.0"
latest: false
---
---
product: Spring Module
version: 2.0
---

# Troubleshooting Spring Module

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

To troubleshoot Spring Module, become familiar with the information about enabling verbose logging
and interpreting commonly thrown messages.

## Enable Verbose Logging

To get a better understanding of why an application’s interaction with Spring module is failing,
temporarily enable verbose logging for the module.

Remember to always disable the enhanced verbosity after troubleshooting, because it affects your
Mule application performance.

To enable verbose logging in the configuration file:

1.  Access Anypoint Studio and navigate to the **Package Explorer** view.

2.  Open your application’s project name.

3.  Open the `src/main/resources` path folder.

4.  Open the `log4j2.xml` file inside the folder.

5.  Add an `<AsyncLogger>` tag inside the `<Loggers>` tag:

    ```xml
    			<Loggers>
    				...
    				<AsyncLogger name="org.mule.extension.spring" level="DEBUG"/>
    				...
    			</Loggers>
    ```

6.  Save your application changes.

7.  Click the project name in **Package Explorer** and then click **Run** > **Run As** > **Mule
    Application**.

## Understand Common Throws

Here is a list of common throw messages and how to interpret them:

- MULE:NOT\_PERMITTED

  Occurs when there is a security restriction enforced by a filter; for example, when using the
  authorization filter of the Spring module.

- MULE:SERVER\_SECURITY

  Occurs when there is a security error enforced by Mule runtime engine (Mule).

## See Also

- [Salesforce Help](https://help.salesforce.com)

- [Known Issues](https://help.salesforce.com/s/issues)
