Commits

Edraí Brosa committed b2ed9e6

Ported some config changes of other projects

Comments (0)

Files changed (1)

grails-app/conf/Config.groovy

 // packages to include in Spring bean scanning
 grails.spring.bean.packages = []
 
+grails.gorm.failOnError = true
+
 // request parameters to mask when logging exceptions
 grails.exceptionresolver.params.exclude = ['password']
 
+grails.views.javascript.library="jquery"
+
 // set per-environment serverURL stem for creating absolute links
 environments {
     production {
 
 // log4j configuration
 log4j = {
-    // Example of changing the log pattern for the default console
-    // appender:
-    //
+    appenders { console name:'stdout' }
     //appenders {
     //    console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
     //}
+    
+    // logging by convention. Available fields are bootstrap, dataSource, tagLib, service, controller, domain
+    debug   'grails.app.filters',
+            'grails.app.controller',
+            'grails.app.service',
+            'grails.app.domain',
+            'grails.app.dataSource'
+            
+    info    'grails.app.bootstrap'
 
     error  'org.codehaus.groovy.grails.web.servlet',  //  controllers
            'org.codehaus.groovy.grails.web.pages', //  GSP