[master] Colored logging is not working in emulator #49
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#49
Loading…
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?
@ssrq When moving
USE_COLORS
from formatter into DefaultLog in https://code.ungleich.ch/ungleich-public/cdist/-/merge_requests/887/diffsit happens now that emulator logging, e.g. flock logging is not colored although USE_COLORS is True.
This is because there are loggers instantiated at module level before USE_COLORS is set.
There is also a bug in emulator code where USE_COLORS is set to formatter class, althoug it is moved to DefaultLog class.
Can you fix this?
closed
Fixed in
840e417eb7
.@ssrq I'll handle this.
assigned to @poljakowski
@ssrq Visible with
$ cdist config -S -vvv...
.