[FrameworkBundle]Ignore LoggingTranslatorPass if there is no Translator definition.
minor #12024 [FrameworkBundle]Ignore LoggingTranslatorPass if there is no Translator ... (aitboudad)

This PR was merged into the 2.6-dev branch.

Discussion
----------

[FrameworkBundle]Ignore LoggingTranslatorPass if there is no Translator ...

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

6e1b47c [FrameworkBundle]Ignore LoggingTranslatorPass if there is no Translator definition.