[logging]: DEBUG: ${__target_host}: return_output is True, ignoring stdout #60
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ungleich-public/cdist#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running
cdist -vvv, numerous messages like this appear; I identified that most of them come from explorers, which would be an expected situation.Since these lines are so numerous and mostly superfluous, they difficult debugging when it is needed.
I would be tempted to open a MR removing this warning, but since I might be missing something:
Is logging this situation really needed? If so:
cdist.exec.remote.Remote.(run_script|run|_run_command)that identifies the run as coming from an explorer and not produce this debug message.(would open a PR implementing this
running_explorerflag if deemed appropriate)These are the lines with the message:
https://code.ungleich.ch/ungleich-public/cdist/blob/master/cdist/exec/remote.py#L283
mentioned in commit
888cf54d99closed via commit
888cf54d99closed via merge request !872
closed via commit
ea3bd14d8bmentioned in merge request !872
mentioned in merge request !871
Just checked the code and I am a bit confused: we have
return_outputand depending on PIPE. Best thing is though that I can usegit blameto blame @poljakowski for it: