我需要从grails 3中的外部文件属性读取配置.在grails 2.x中,我将文件链接到:
grails.config.locations = ["classpath:config.properties"]
Run Code Online (Sandbox Code Playgroud)
在config.groovy中,但grails 3中不存在此文件.
你有什么想法解决的吗?
Grails 3使用logback作为日志记录系统.
我需要一个如何在这种形式的grails 3中使用logback的示例
log.info("some Info")
Run Code Online (Sandbox Code Playgroud)