Skip to content

Client logging in case of errors #870

Open
@miketsts

Description

@miketsts

A client calls the logger only in case of successful request completion, no matter the HTTP status is successful or not.
However, in case of an error, for example, httplib::Read the logger is not called. As a result, my application log does not contain a log record of a request content.
Well, I can of course add this capability to my application logic. But don't you think this could be better addressed in a library, if it in any case supports logging?

To tell the truth, I don't know what is the correct solution, I'm thinking loud ...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions