当重要信息传递到特定资源(URL)时,我希望禁用日志记录。
当重要信息传递到特定资源(URL)时,我希望禁用日志记录。
# Logging settings.
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: INFO
# Logger-specific levels.
loggers:
# Overrides the levels of certain packages or files.
"com.my.resources.User": OFF
OFF
写成 "OFF"
。 - Robin