Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-RC1
-
Component/s: Build System, Configuration
-
Labels:None
Description
Despite using the SLF4J APIs under the hood, it is currently not trivial to switch out the log4j dependency for another logging provider (such as logback). Since logging is likely to be a common point of integration across many apps running in a web-app container, Grails should not force a specific logging provider on the user.
I would like to see Grails make it as easy to switch logging providers as it currently is to switch application servers or database providers.
It should be easier now since direct references to Log4j have been removed from the codebase and the default logging plugin can be disabled by doing:
Or by providing a different plugin that evicts the default logging plugin.