Skip to content

Honor the log related cli parameters #434

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

tired-old-man
Copy link

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

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

Copy link
Owner

@stefanprodan stefanprodan left a comment

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
5 checks passed
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