java - Set root logging level in application.yml -
i used application.properties spring boot (1.3 m1) , started translate yaml file because grew more , more complex.
but have problems translating yaml:
logging.level.*=warn logging.level.com.filenet.wcm=error logging.level.de.mycompany=debug
the last 2 lines translated this:
logging: level: com.filenet.wcm: error de.mycompany: debug
but how add values root logging level ? these 2 approaches failed:
failed approach 1:
logging: level: warn com.filenet.wcm: error de.mycompany: debug
failed approach 2:
logging: level: star: warn com.filenet.wcm: error de.mycompany: debug
i read docs, searched stackoverflow , googled did not find example valid syntax.
you can use root
configure root logging level:
logging: level: root: debug
Comments
Post a Comment