Skip to content

Commit 2a7a113

Browse files
humitosagjohnson
authored andcommitted
Log in the proper place and add the image name used (#3750)
1 parent d127ea5 commit 2a7a113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/doc_builder/environments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,6 @@ def __init__(self, *args, **kwargs):
630630

631631
def __enter__(self):
632632
"""Start of environment context."""
633-
log.info('Creating container')
634633
try:
635634
# Test for existing container. We remove any stale containers that
636635
# are no longer running here if there is a collision. If the
@@ -829,6 +828,7 @@ def create_container(self):
829828
if self.project.container_image:
830829
image = self.project.container_image
831830
try:
831+
log.info('Creating Docker container: image=%s', image)
832832
self.container = client.create_container(
833833
image=image,
834834
command=('/bin/sh -c "sleep {time}; exit {exit}"'

0 commit comments

Comments
 (0)