Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-M1
-
Component/s: Configuration
-
Labels:None
Description
The default Config.groovy for new Grails applications has grails.logging.jul.usebridge setting enabled.
The SLF4J documentation mentions the negative performance impact of the JUL to SLF4J bridge.
In Grails applications it's recommended not to enable grails.logging.jul.usebridge in production environments.
Change /grails-core/src/grails/grails-app/conf/Config.groovy
// whether to install the java.util.logging bridge for sl4j. Disable for AppEngine! // Negative impact on performance see http://www.slf4j.org/legacy.html#jul-to-slf4j , http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html for details. grails.logging.jul.usebridge = false
Issue Links
- is related to
-
GRAILS-9461
Log warning to System.err if grails.logging.jul.usebridge is enabled in "war deployed" mode
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits