Skip to content
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

log host and time #496

Merged
merged 2 commits into from
Nov 9, 2023
Merged

log host and time #496

merged 2 commits into from
Nov 9, 2023

Conversation

marcmengel
Copy link
Contributor

log host and time to stderr if verbose/debug and to Jaeger trace, per #493

@marcmengel marcmengel linked an issue Nov 8, 2023 that may be closed by this pull request
Copy link
Collaborator

@shreyb shreyb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

args.verbose is parsed from the args as an int (see get_parser.py). So we either should convert it to a bool somehow before calling log_host_time, or have log_host_time accept verbose as an int.

Given python's typing system, it most likely would work as is, but in the interest of keeping the code cleaner, I'd prefer we stay consistent with the typing of vars we're passing around.

Otherwise, it looks good.

@shreyb shreyb added this to the 1.5 milestone Nov 8, 2023
Copy link
Collaborator

@shreyb shreyb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shreyb shreyb merged commit 98050a3 into master Nov 9, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add some debug lines
2 participants