Under resources/
, create file META-INF/services/io.dropwizard.logging.AppenderFactory
with content
the.package.PCIConsoleAppenderFactory
server:
applicationConnectors:
- type: http
port: ${PORT:-8080}
adminConnectors:
- type: http
port: ${ADMIN_PORT:-8081}
requestLog:
appenders:
- type: console-pci # Apply to jetty http log events
logging:
level: ${LOG_LEVEL:-WARN}
appenders:
- type: console-pci # apply to application log event
logFormat: "%d %r %p [%t] %c - %m%n"
loggers:
"io.dropwizard":
level: INFO