-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
WIP: add fancy debug logs #3586
Conversation
@@ -162,7 +163,15 @@ static int _main(int argc, char * * argv) | |||
bestLoad = load; | |||
bestSlotLock = std::move(free); | |||
bestMachine = &m; | |||
} else { | |||
debug("skipping '%s': there is a better machine", m.storeUri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does better mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually I'm not sure either, but I'm guessing it's based on the parameters above a machine that has a higher speed factor and is available right now
} else { | ||
debug("skipping '%s': does not meet all condiditions\n - enabled = %s\n - system: type is matching = %s / required %s / got %s\n - features: all supported = %s / mandatory supported = %s / required %s / got %s", m.storeUri, | ||
m.enabled, | ||
std::find(m.systemTypes.begin(), m.systemTypes.end(), neededSystem) != m.systemTypes.end(), neededSystem, join(m.systemTypes, ","), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the join()
function call here should be replaced by the concatStringsSep()
one
I marked this as stale due to inactivity. → More info |
I closed this issue due to inactivity. → More info |
No description provided.