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