Home/ Tools/ MuleSoft Log to cURL
⚑

MuleSoft Log to cURL Converter

MuleSoft HTTP debug logs to Postman in seconds. Paste logs, copy the cURL, and paste directly into any Postman tab to replay requests instantly.

MuleSoft Debugging cURL Postman Ready 100% Client-Side
How to Enable HTTP Debug Logs expand to see log4j2 & Runtime Manager setup
πŸ“„ log4j2.xml  (Anypoint Studio / On-Prem)
<AsyncLogger name="org.mule.service.http.impl.service.HttpMessageLogger" level="DEBUG"/> <AsyncLogger name="org.mule.extension.http.internal.listener.HttpListener" level="DEBUG"/> <AsyncLogger name="org.mule.extension.http.internal.request.HttpRequester" level="DEBUG"/>
☁️ Runtime Manager  (CloudHub / RTF)
org.mule.service.http.impl.service.HttpMessageLogger β†’ DEBUG
org.mule.extension.http.internal.listener.HttpListener β†’ DEBUG
org.mule.extension.http.internal.request.HttpRequester β†’ DEBUG
Runtime Manager β†’ Application β†’ Settings β†’ Logging β†’ Add package name β†’ set to DEBUG
HTTP Debug Log
cURL Command

How to Use This Tool

Go from Mule debug logs to a working cURL / Postman request in seconds.

Enable Debug Logs

Add the HttpMessageLogger to your log4j2.xml at DEBUG level. The logger line is shown above the input area.

Copy & Paste Logs

Copy the HTTP request debug output from Anypoint Studio console or CloudHub logs. Paste it into the input area on the left.

Direct Postman Import

Copy the cURL and paste directly into a New Request tab in Postman. All headers, query params, and the body will be pre-filled automatically.

Debug Faster

No more manually copying host, path, headers, and body into Postman one by one. Go from log to request replay in under 10 seconds.

Frequently Asked Questions

What log format does this tool support?
This tool parses standard MuleSoft HTTP connector debug logs, including output from org.mule.service.http.impl.service.HttpMessageLogger, org.mule.extension.http, and plain HTTP request lines like POST /api/v1/resource HTTP/1.1 followed by headers.
How do I import the cURL into Postman?
Copy the generated cURL command, open Postman, and simply paste it directly into any New Request tab. Postman automatically detects the cURL format and populates all headers, query params, and the body. You can also use File β†’ Import β†’ Raw text.
Does this tool handle request bodies?
Yes. If the debug logs include a request body, the tool extracts it and includes it in the cURL command using the --data flag.
Is my data safe?
Your debug logs never leave your browser. All parsing happens 100% client-side in JavaScript. No data is sent to any server. Logs may contain sensitive headers like Authorization β€” they stay on your machine only.
What if my logs don't parse correctly?
Try extracting just the HTTP request portion (starting from the request line like GET /path HTTP/1.1 followed by headers). The parser is designed to be forgiving with extra noise from Mule log prefixes.

From the Blog

Deeper dives into MuleSoft HTTP debugging and integration troubleshooting.

Loading latest articles...

🀠 Find this tool useful?

Debugging MuleSoft HTTP issues is painful enough. If this tool saved you from manually building cURL commands, a coffee is always appreciated!