Coder Social home page Coder Social logo

Comments (4)

musketyr avatar musketyr commented on August 29, 2024

Are you using the latest version? There were some problems with previous releases. No-one haven't tested this plugin with 3.3.0. I will do so o Monday.

from grails-sentry.

goedef avatar goedef commented on August 29, 2024

from grails-sentry.

goedef avatar goedef commented on August 29, 2024

After extensive testing I found a temporary working solution for my application.

It seems the plugin does not append sentry to the ROOT logger.
I defined another logger in logback.groovy (where 'prestotype' is the app name):
logger 'prestotype', INFO, ['STDOUT','WEBAPP'], false

and added in my application.yml file:
grails.plugin.sentry.active: true
grails.plugin.sentry.dsn: 'http://--:[email protected]/11'
grails.plugin.sentry.levels: ['ERROR']
grails.plugin.sentry. loggers: ['prestotype','grails.app']

Now the plugin reports errors AND warnings. I cannot influence the log level.

from grails-sentry.

musketyr avatar musketyr commented on August 29, 2024

I'm sorry, I can't replicate myself. I've upgraded Grails to 3.3.0 on https://github.com/agorapulse/grails-sentry/tree/feature/grails-3-3-0 branch but everything works as expected on a first sight.

Are you able to debug after following line?

GrailsLogbackSentryAppender appender = applicationContext.getBean(GrailsLogbackSentryAppender)

from grails-sentry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.