How to pass mule logger category dynamically <p>I am scenario where the loggers in a mule sub-flow should write to the same log file where the parent\main flow logs. The parent flow which invokes the sub-flow will be different but the log should write into the respective log file defined for the parent flow.</p> <p>What I would be requiring here is a feature where I could dynamically pass the category value in a mule logger. I tried passing a flowVars using the mule expression in the logger category but It seems not effective (PFB).</p> <pre><code>&lt;set-variable variableName="flow" value="com.cisco.flow1" doc:name="Variable"/&gt;&lt;logger message="Inside the service --- ${sys:mule.home}${sys:file.separator}logs${sys:file.separator}log4j-research.log" level="INFO" doc:name="Logger" category="#[flowVars.flow]"/&gt; </code></pre> <p>Could anyone suggest a way to address the above requirement?</p> <p>Mule Version: 3.7.0</p> <p>Regards Arun</p>