Test LoggingFactory