How do I set the log4j configuration to log level DEBUG only for my own classes – domain, controllers etc? I dont want the information from grails classes (regarding fetching resources etc.), I just want my own debug traces..
I’ve tried a whole lot of combination, none seems to work i.e.
debug 'grails.app.controller.test.MainController' – doesnt work
Try this config snippet in your log4j closure (in Config.groovy):