cname host is logged twice #53
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#53
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
only happens with addresses which are cnames. @poljakowski?
mentioned in commit
06cc20aa28
closed via merge request !883
good work! thanks!
mentioned in merge request !883
mentioned in commit
f4e1bbc87e
@ander Figured it out :) This has nothing to do with
CNAME
, but withcdist.
as first part of hostname.It's about logger hierarchy which is defined by dots in logger name.
https://docs.python.org/3/library/logging.html#module-logging
So we have
cdist
logger, created before target host processing.Then we process host
cdist.whatever
. Logging creates logger hierarchy, which meanscdist
logger is parent of.whatever
. Whencdist.whatever
logs something, this is also propagated to ancestors.There is one ancestor defined,
cdist
logger, so it too writes log message.That is why all are written twice.
For parallel part,
cdist
ancestor is defined without process ID in its format, so you have one line with process ID, and one line without it.Since we don't use hierarchy with propagation in its full potential, I will try fixing this bug with setting
propagate
toFalse
.cnameconfig.log
If you give me your
id.pub
, I can give you access for testing.@ander Do you have a trace log level output for cname case?
assigned to @poljakowski