/dropwizard-logging-stackdriver

Dropwizard log formatter for GCP Stackdriver.

Primary LanguageJavaApache License 2.0Apache-2.0

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}"}