Skip to content
This repository was archived by the owner on Jan 14, 2024. It is now read-only.

Commit 76775bd

Browse files
committed
Set default log level to info
1 parent b52a525 commit 76775bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/rkd/context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from .syntax import TaskDeclaration, TaskAliasDeclaration, GroupDeclaration
88
from .contract import ContextInterface
99
from .argparsing import CommandlineParsingHelper
10-
from .inputoutput import SystemIO, LEVEL_WARNING as LOG_LEVEL_WARNING
10+
from .inputoutput import SystemIO, LEVEL_INFO as LOG_LEVEL_INFO
1111
from .exception import TaskNotFoundException
1212

1313

@@ -168,6 +168,6 @@ def create_unified_context(self, chdir: str = '') -> Context:
168168
# system wide IO instance with defaults, the :init task should override those settings
169169
ctx.io = SystemIO()
170170
ctx.io.silent = True
171-
ctx.io.log_level = LOG_LEVEL_WARNING
171+
ctx.io.log_level = LOG_LEVEL_INFO
172172

173173
return ctx

src/rkd/inputoutput.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class IO:
4141
""" Interacting with input and output - stdout/stderr/stdin, logging """
4242

4343
silent = False
44-
log_level = LEVEL_ERROR
44+
log_level = LEVEL_INFO
4545

4646
@contextmanager
4747
def capture_descriptors(self, target_file: str = None):

0 commit comments

Comments
 (0)