I recently got into a situation where I was logging payloads in Anypoint Runtime and realized that the payload contained sensitive information (Email, SSN, etc.). However, this information is highly useful as we are developing applications for debugging purposes but it’s quite a hassle to enable/disable logs and re-deploy applications in lower environment when troubleshooting issues.

Like any other product or language, Mulesoft offers a solution for this problem. When printing the logs, you can define the LEVEL of log, e.g. INFO (default), DEBUG, ERROR, etc. The default option INFO would always print the logs in runtime. However, logs that…

Verma Varun

Mastering automation, improving efficiency and connecting systems.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store