Dropwizard comes with support for dynamic configuration of log filters However it ships with just a single filter the UriFilterFactory One can create logging filters that will intercept log statements before they are written and decide if theyre allowed Log filters can work on both regular statements and request log statements Liftwizard provides an improved for request logs and for plain logs RequestUrlFilterFactory is an improved version of It can filter access logs that do or don t match a list of urls To use it add a dependency on Then add a filter factory to your config with type and a list of to include or exclude The default value of is JaninoFilterFactory allows you to specify the filter condition in a snippet of Java code that gets compiled with Janino To use it add a dependency on Then add a filter factory to your config with type and a that evaluates to a boolean The default value of is RequestUrlFilterFactory JaninoFilterFactory RequestUrlFilterFactory UriFilterFactory liftwizard config logging filter requesturl url urls onMatch ch qos logback core spi FilterReply DENY JaninoFilterFactory liftwizard config logging filter janino janino javaExpression onMatch ch qos logback core spi FilterReply DENY logging level DEBUG appenders type console timeZone $ LOGGING_TIMEZONE system logFormat %highlight % 5level %cyan %date HH mm ss SSS %dwTimeZone %gray %file %line %white %thread %blue %marker %magenta %mdc %green %logger %message%n%rootException filterFactories type janino javaExpression logger equals io liftwizard logging p6spy P6SpySlf4jLogger && mdc get liftwizard bundle equals DdlExecutorBundle onMatch DENY