Arnaud Le Blanc
Arnaud Le Blanc

Reputation: 99921

How to log exception stack traces in Jetty?

When a servlet throws a NullPointerException, only the name of the exception is logged on the stderr. (When it's a ServerletException, the stacktrace is logged).

How to enable logging the stacktrace of all exceptions in Jetty 8 ? I'm using Debian's jetty8 package.

Upvotes: 1

Views: 1581

Answers (1)

Andreas
Andreas

Reputation: 159124

See STACKS property in the logging config: https://wiki.eclipse.org/Jetty/Feature/Jetty_Logging

Upvotes: 1

Related Questions