-v doesn't have any effect #156

Closed
opened 2021-11-20 15:20:24 +00:00 by ungleich-gitea · 3 comments

Created by: 4nd3r

shouldn't -v be -vv instead?

*Created by: 4nd3r* shouldn't `-v` be `-vv` instead?
Author
Owner

Created by: darko-poljak

Written better -v option description in PR https://github.com/ungleich/cdist/pull/515.

*Created by: darko-poljak* Written better -v option description in PR https://github.com/ungleich/cdist/pull/515.
Author
Owner

Created by: darko-poljak

@4nd3r Take a look at https://github.com/ungleich/cdist/pull/515.
I think we will also extend -v option with additional optional argument that will directly set desired verbosity level.

*Created by: darko-poljak* @4nd3r Take a look at https://github.com/ungleich/cdist/pull/515. I think we will also extend -v option with additional optional argument that will directly set desired verbosity level.
Author
Owner

Created by: darko-poljak

@4nd3r -v was changed to be option that increases a verbosity level by one with each instance.
So, without any -v verbosity (logging) level is set to ERROR. One -v equals to WARNING, two -v equals to INFO, four and above means DEBUG. cdist has few warning loggings and in particular situations so the impression is that there is no effect.
Perhaps we should better explain the option in man page.

*Created by: darko-poljak* @4nd3r -v was changed to be option that increases a verbosity level by one with each instance. So, without any -v verbosity (logging) level is set to ERROR. One -v equals to WARNING, two -v equals to INFO, four and above means DEBUG. cdist has few warning loggings and in particular situations so the impression is that there is no effect. Perhaps we should better explain the option in man page.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#156
No description provided.