[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Logging Custom Handlers JUL
|
Joakim,
i am trying to integrate the custom logger into jetty, but for some
reason i can't get it to work. Let me give you where i am thus far.
I have followed your instructions here. My custom handler does indeed
get all the logging that Jetty itself kicks out. I am able to confirm
that my custom handler is running.
However, what i cannot get, is for any class deployed in my webapp to
reach to the custom logging handler. It just refuses to get there.
So my questions are:
1/ Where should one place my custom handler jar file? You noted before
that /lib/etc/ is too late, so if that is the case, then where?
2/ Should i run with --exec ?
3/ The classloader that handles the webapp, will that use the custom
handler that the core jetty has created?
I feel so close to getting this working, yet i am no further forward
from the moment i started.
I created an example project showing how to set this up, see
https://github.com/jetty-project/jetty-and-jul-example.