[FrameworkBundle] fix LoggingTranslatorPass