Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Latest commit

 

History

History

grails-3.x

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sentry Grails Example

This project contains an example Sentry integration with Grails. It uses the default logback logging framework to send log level WARN and above to sentry.

The example application can be started as follows (set SENTRY_DSN to a proper value):

SENTRY_DSN="https://public:private@host:port/1" grails run-app

Now, visit http://localhost:8080/hello/index in your browser and an ERROR message should be sent to the Sentry server you point to in your SENTRY_DSN.

See grails-app/conf/logback.groovy for example logger configuration and build.gradle for the dependency on io.sentry:sentry-logback.