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

Remove usage of deprecated verbosity macros #1190

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

quinnj
Copy link
Member

@quinnj quinnj commented Oct 28, 2024

We can adjust the logging macro usage further later, but this at least helps remove the deprecation warnings.

@quinnj quinnj merged commit c031311 into master Oct 28, 2024
11 checks passed
@quinnj quinnj deleted the jq-no-verbosity-log-macros branch October 28, 2024 16:19
@dhanak
Copy link

dhanak commented Nov 8, 2024

Apparently, there are still some uses of verbosity macros in the code (this is HTTP v1.10.9):

❯ rg '@(debug|info|warn|error)v'
src/Servers.jl
382:    verbose >= 0 && @infov 1 "Listening on: $(listener.hostname):$(listener.hostport), thread id: $(Threads.threadid())"
389:                @warnv 1 "unable to accept new connection"
392:                @warnv 1 "!tcpisvalid: $io"
409:                verbose >= 0 && @infov 1 "Server on $(listener.hostname):$(listener.hostport) closing"
411:                @errorv 2 begin
502:        @errorv 1 begin
522:            @warnv 2 "Connection Timeout: $c"

@quinnj
Copy link
Member Author

quinnj commented Nov 8, 2024

Thanks for the report: #1193

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.

2 participants