diff --git a/src/rkd/context.py b/src/rkd/context.py index 96f708a4..d3777762 100644 --- a/src/rkd/context.py +++ b/src/rkd/context.py @@ -7,7 +7,7 @@ from .syntax import TaskDeclaration, TaskAliasDeclaration, GroupDeclaration from .contract import ContextInterface from .argparsing import CommandlineParsingHelper -from .inputoutput import SystemIO, LEVEL_WARNING as LOG_LEVEL_WARNING +from .inputoutput import SystemIO, LEVEL_INFO as LOG_LEVEL_INFO from .exception import TaskNotFoundException @@ -168,6 +168,6 @@ def create_unified_context(self, chdir: str = '') -> Context: # system wide IO instance with defaults, the :init task should override those settings ctx.io = SystemIO() ctx.io.silent = True - ctx.io.log_level = LOG_LEVEL_WARNING + ctx.io.log_level = LOG_LEVEL_INFO return ctx diff --git a/src/rkd/inputoutput.py b/src/rkd/inputoutput.py index e851a54f..3afeac01 100644 --- a/src/rkd/inputoutput.py +++ b/src/rkd/inputoutput.py @@ -41,7 +41,7 @@ class IO: """ Interacting with input and output - stdout/stderr/stdin, logging """ silent = False - log_level = LEVEL_ERROR + log_level = LEVEL_INFO @contextmanager def capture_descriptors(self, target_file: str = None):