Unable to see logs from Mule cloudhub but able to send the logs from local

Hi ,

I have configured Logj4 in my mule application to send logs to New Relics. It works fine in local, I can see the logs in new relics. But when I deploy to cloudhub I am not able to see the logs coming to New Relics. F.y.i. I have disabled cloudhub logging.
Please advise.

Log4j is a supported logging framework for configuring the APM Java Agent’s logs in Context functionality. You cannot use it to forward logs to New Relic. If you have somehow found a way to forward logs with Log4j, it is not officially tested or supported and I cannot help you configure it to forward logs.

Our supported log forwarding plugins are found in the docs here: