log file

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

log file

johannes
Hi

Is there something akin to catalina.out for ratpack?
Reply | Threaded
Open this post in threaded view
|

Re: log file

Luke Daley
Administrator
I don't think so.

What are you trying to achieve?
Reply | Threaded
Open this post in threaded view
|

Re: log file

johannes
I want to dump my stack traces which happen on threads to a file and the std and err interceptors aren't working.
Reply | Threaded
Open this post in threaded view
|

Re: log file

Luke Daley
Administrator
To do this you'd provide your own ServerErrorHandler implementation.

There aren't any docs on this ATM unfortunately but this test might
help:
https://github.com/ratpack/ratpack/blob/master/ratpack-core/src/test/groovy/ratpack/groovy/handling/ErrorHandlingSpec.groovy