Fix unclean backport in InternalLoggerFactory

.. which leaked in from d0912f27091e4548466df81f545c017a25c9d256