softwaremill / sttp

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

enable logback logging for sttp 1.7.x #2184

Closed kry00la closed 4 months ago

kry00la commented 4 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 4 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 4 months ago

Thanks