users@jersey.java.net

stacktrace prints to stdout

From: Craig Iverson <civy4fun_at_gmail.com>
Date: Tue, 21 Oct 2008 11:23:33 -0700

I notice when I return a 500, Jersey prints the error to standard
out. I'm hoping that this can be changed to the logger. This is in
the class WebApplicationImpl method onException(...).
        
                if (r.getStatus() >= 500) {
                    e.printStackTrace();
                 }

It would be nice If I had the ability to override this method or some
portion of it. Currently we are forced to use another logger, so I'm
trying to work around the ties to the java logger as much as
possible. My current work around for this is to have each exception
mapper class do its own logging.

Thanks,
Craig Iverson