Make logger available in the container

@bartv2 @DeepDiver1975 @MorrisJobke @Kondou-ger @LukasReschke @LEDfan

see #8279