Skip to content

irvifa/dropwizard-logging-stackdriver

Repository files navigation

dropwizard-logging-stackdriver

Configuration Example

logging:
  appenders:
    - type: console
      layout:
        type: json-stackdriver

Example log

LogEntry will parse the SEVERITY filter based on severity mentioned in the log json payload.

{"severity":"INFO","message":"INFO  [2020-04-20 01:40:41.127] main - org.eclipse.jetty.server.handler.ContextHandler: Started i.d.j.MutableServletContextHandler@726a8729{/,null,AVAILABLE}"}