Failed to bind properties under 'logging.level' to issue the log level java.util.Map <java.lang.String, java.lang.String>

 

 

 

 The following should also be noted that, it tends to throw an exception:

Log wording is: logging.level (The code will auto-complete, do not just write, otherwise error) 
logging:
Level: Debug (this is a string, so throwing an exception)
Level key-value pairs in the form of a map
(key: the package name ) cn.itcast: debug (value: a class name)
org.springframework: Debug
-----------
logging:
level :( here can not have Debug)
cn.itcast: Debug
org.springframework: Debug

Guess you like

Origin www.cnblogs.com/Koma-vv/p/11653494.html