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

Hide "Database up to date" messages behind verbose #219

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Hide "Database up to date" messages behind verbose #219

merged 1 commit into from
Apr 13, 2023

Conversation

assistcontrol
Copy link
Contributor

It's expected that many (if not most) will run geoipupdate from cron, so normal operation likely shouldn't produce any output.

When the database is updated, no output is produced unless verbose is enabled. However, when no update is available, a message is produced regardless of verbosity.

Make the output consistent by guarding "Database %s up to date" behind a verbose check.

It's expected that many (if not most) will run geoipupdate from cron,
so normal operation likely shouldn't produce any output.

When the database is updated, no output is produced unless verbose is
enabled. However, when no update is available, a message is produced
regardless of verbosity.

Make the output consistent by guarding "Database %s up to date" behind
a verbose check.
@oschwald
Copy link
Member

Thank you!

@oschwald oschwald merged commit 9b65afd into maxmind:main Apr 13, 2023
oschwald added a commit that referenced this pull request Apr 13, 2023
oschwald added a commit that referenced this pull request Apr 13, 2023
5.0.2

* "Database ... up to date" messages are now only shown if the verbose
  flag is set. Pull request by Adam Weinberger. GitHub #219.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants