Fixing more deprecation of LoggingManager.