I am a newbie for log4j and sl4j
, I am using grails 2.0.4 and in config.groovy there is a line
grails.logging.jul.usebridge = false
for prod
&
grails.logging.jul.usebridge = true
for dev
I followed this article, As it says that use of grails.logging.jul.usebridge is to implement the swapping logic of logging frameworks such as
- log4j
- java.util.logging
- commons logging
- logback
Is this the only use of grails.logging.jul.usebridge in config.groovy, or is there any other uses
And one more question
- which is the recommended logging framework to use in production environment
grails.logging.jul.usebridge = true
in production environments: * slf4j web site and * Grails web site – Richy