我尝试在我的 application.properties 中使用以下属性值来仅启用记录器 INFO 消息。但看起来它没有按预期工作。我仍然看到 WARNING 消息与 INFO 消息一起出现。但我只希望出现 INFO 消息,我在这里做错了吗?
logging.level.root=INFO
2018-12-21 09:46:25.312 INFO 12364 --- [nio-8081-exec-2] c.m.s.abc.util.FileUploadUtil : Sample message 1
2018-12-21 09:46:25.316 INFO 12364 --- [nio-8081-exec-2] c.m.service.abc.util.EnvelopeUtil : Sample message 2
2018-12-21 09:46:25.316 INFO 12364 --- [nio-8081-exec-2] c.m.service.abc.util.EnvelopeUtil : Sample message 3
2018-12-21 09:46:25.316 INFO 12364 --- [nio-8081-exec-2] c.m.service.abc.util.EnvelopeUtil : Sample message 4
2018-12-21 09:46:27.813 WARN 12364 --- [nio-8081-exec-2] o.a.pdfbox.pdmodel.font.PDType0Font : No Unicode mapping for CID+11 (11) in font ArialNarrow-Bold-Identity-H
2018-12-21 09:46:27.813 WARN 12364 --- [nio-8081-exec-2] o.a.pdfbox.pdmodel.font.PDType0Font : No Unicode mapping for CID+48 (48) in font ArialNarrow-Bold-Identity-H
2018-12-21 09:46:27.813 WARN 12364 --- [nio-8081-exec-2] o.a.pdfbox.pdmodel.font.PDType0Font : No Unicode mapping for CID+68 (68) in font ArialNarrow-Bold-Identity-H
2018-12-21 09:46:27.813 WARN 12364 --- [nio-8081-exec-2] o.a.pdfbox.pdmodel.font.PDType0Font : No Unicode mapping for CID+86 (86) in font ArialNarrow-Bold-Identity-H
2018-12-21 09:46:27.814 WARN 12364 --- [nio-8081-exec-2] o.a.pdfbox.pdmodel.font.PDType0Font : No Unicode mapping for CID+88 (88) in font ArialNarrow-Bold-Identity-H
2018-12-21 09:46:27.814 WARN 12364 --- [nio-8081-exec-2] o.a.pdfbox.pdmodel.font.PDType0Font : No Unicode mapping for CID+87 (87) in font ArialNarrow-Bold-Identity-H