When using embedded jetty
within an application, per default there is no support for log4j2
. Using slf4j
it is possible to redirect the logging to log4j2
. But without this redirection there is no way to directly use it. But of course there is a way to use it. Only a piece of simple adapter code is required. Continue reading
Redirecting embedded jetty log to log4j2
4