softwaremill / sttp

The Scala HTTP client you always wanted!
https://sttp.softwaremill.com
Apache License 2.0
1.46k stars 310 forks source link

enable logback logging for sttp 1.7.x #2184

Closed kry00la closed 6 months ago

kry00la commented 6 months ago

Hello is there some documentation how to enable logging on sttp 1.7.x? Unfortunately using the configuration below does not help.

<logger name="com.softwaremill.sttp" level="DEBUG" />
adamw commented 6 months ago

I don't think there was anything built-in in sttp v1 to enable logging. You can try browsing the docs: https://github.com/softwaremill/sttp/blob/v1/docs/backends/custom.rst#example-logging-backend-wrapper in the v1 branch

kry00la commented 6 months ago

Thanks