Skip to content

Honor the log related cli parameters#434

Merged
stefanprodan merged 1 commit into
stefanprodan:mainfrom
tired-old-man:fix-honor-log-cli-parameters
Oct 22, 2024
Merged

Honor the log related cli parameters#434
stefanprodan merged 1 commit into
stefanprodan:mainfrom
tired-old-man:fix-honor-log-cli-parameters

Conversation

@tired-old-man

@tired-old-man tired-old-man commented Oct 16, 2024

Copy link
Copy Markdown

When timoni cli is used in automation, color formatting presents challenges in parsing the output.
Unfortunately, log parameters are ignored.

Currently when logger is initialized, the (true, true) pair as passed as parameters.
This results in following command line parameters being ignored:

  • --log-color
  • --log-pretty

This simple fix resolve logger initialization.

Fix: #436

@stefanprodan stefanprodan left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @tired-old-man 🥇

@stefanprodan stefanprodan merged commit cc2fd45 into stefanprodan:main Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--log-pretty and --log-color appear unsettable

3 participants