Skip to content

Commit c8161a0

Browse files
committed
Print build progress with LOGGER.info()
1 parent f6baa76 commit c8161a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/image.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import subprocess
2424

2525
LOGGER = logging.getLogger(__name__)
26-
LOGGER.setLevel(logging.DEBUG)
26+
LOGGER.setLevel(logging.INFO)
2727

2828

2929
class DockerImage:
@@ -344,9 +344,9 @@ def _legacy_docker_build(self, context_path, custom_context=False):
344344
labels=self.labels,
345345
target=self.target,
346346
):
347-
# print the log line during build for every line_interval lines for debugging
347+
# print the log line during build for every line_interval lines
348348
if line_counter % line_interval == 0:
349-
LOGGER.debug(line)
349+
LOGGER.info(line)
350350
line_counter += 1
351351

352352
if line.get("error") is not None:

0 commit comments

Comments
 (0)