MULE-7818: Logging infrastructure should not keep a reference to any cla...

...ssloaders
logFileNameTemplate could be null.