Skip to content

Commit

Permalink
Cleanup logs
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 6, 2023
1 parent 3b40015 commit e86c12e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ function request(
isnothing(body) && (body = UInt8[])
headers = _ensure_headers(headers)
_authenticate!(ctx, headers)
opts = (;redirect = false, pool = POOL, verbose=3)
@info "HTTP.request" method url opts kw
opts = (;redirect = false, pool = POOL, verbose=2)
@info "HTTP.request" method url
r = Base.with_logger(Logging.ConsoleLogger(stderr, Logging.Debug)) do
HTTP.request(method, url, headers; query = query, body = body, opts..., kw...)
end
Expand Down

0 comments on commit e86c12e

Please sign in to comment.