阅读背景:

grails中log4j.properties配置

来源:互联网 

首先是:grails-app/conf/spring/resources.groovy

beans = {
    log4jConfigurer(org.springframework.beans.factory.config.MethodInvokingFactoryBean) {
        targetClass = "org.springframework.util.Log4jConfigurer"
        targetMethod = "initLogging"
        arguments = ["classpath:config/log4j.properties"]
    }
}

beans 




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: