added logging to the container.