Hi,
i’m having troubles getting a custom CORS directive to work and therefore would like to set spray’s log level
to DEBUG and log the response headers for each route.
I’ve tried:
- Wrap the route inside a logRequestResponse("foo", Logging.DebugLevel) {} directive
- Add a logback.xml and provide a logger <logger name="spray.routing" level="DEBUG" />
- Add loglevel = DEBUG to the spray.can.server block inside application.conf
But spray doesn’t pick up any of this. Nothing is being logged in regard to the response.
Has anyone a hint what i’m missing here?
thanks
robert