Added a missing logging handler

Who knows why, this was forgotten. NB: this bug *affects the release 1-2*: we need to backport it with
a `git cherry-pick 123c4dc1016492c716b5306f08cd9f11bf2d13c5`