TEZ-549. Fix logging in pre-warmed containers. (hitesh)