Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#80: Integrate sentry plugin for better exception logging #99

Merged
merged 4 commits into from
Sep 14, 2015
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
moved raven (sentry) plugin to BuildConfig and added default configur…
…ation (disabled by default)
  • Loading branch information
jmiranda committed Sep 14, 2015
commit c7bd794267ff6db4602f9f076f27b6af1a98d0e1
1 change: 0 additions & 1 deletion application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ plugins.joda-time=1.4
plugins.ldap=0.8.2
plugins.pretty-time=0.3
plugins.profile-template=0.1
plugins.raven=0.5.8
plugins.runtime-logging=0.4
plugins.springcache=1.3.1
plugins.template-cache=0.1
Expand Down
9 changes: 4 additions & 5 deletions grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ grails.project.dependency.resolution = {

}
plugins {
compile ":rendering:0.4.4"

runtime( ':constraints:0.6.0' )
compile ":rendering:0.4.4"
compile ":raven:0.5.8"

runtime( ':constraints:0.6.0' )
runtime( ':jquery-validation:1.9' ) { // 1.7.3
excludes 'constraints'
}
Expand All @@ -91,9 +93,6 @@ grails.project.dependency.resolution = {
we've included our own build of it.
test(name:'spock', version:'0.6')
*/



//runtime(":liquibase:1.9.3.6") { excludes 'data-source' }
runtime(':mail:1.0.6') { excludes 'mail', 'spring-test' }
runtime(':excel-import:0.3') { excludes 'poi-contrib', 'poi-scratchpad' }
Expand Down
10 changes: 7 additions & 3 deletions grails-app/conf/Config.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,6 @@ log4j = {
root {
error 'stdout', 'smtp'
additivity = false
//error 'smtp'
//info 'stdout'
//additivity: false
}


Expand Down Expand Up @@ -324,6 +321,7 @@ log4j = {
'grails.plugin.rendering',
'org.apache.commons.mail',
'grails.plugins.raven',
'net.kencochrane.raven',
//'com.unboundid'
//'org.hibernate.transaction',
//'org.jumpmind',
Expand Down Expand Up @@ -419,6 +417,12 @@ jqueryValidationUi {
}


// Grails Sentry/Raven plugin
// NOTE: You'll need to enable the plugin and set a DSN using an external config properties file
// (namely, openboxes-config.properties or openboxes-config.groovy)
grails.plugins.raven.active = false
grails.plugin.raven.dsn = "https://{PUBLIC_KEY}:{SECRET_KEY}@app.getsentry.com/{PROJECT_ID}"

// Google analytics and feedback have been removed until I can improve performance.
//google.analytics.enabled = false
//google.analytics.webPropertyID = "UA-xxxxxx-x"
Expand Down