IntelliJ Validates logback.xml Incorrectly
已回答
IntelliJ is validating my logback.xml and telling me the level attribute of the root element (<root level="debug">) is not allowed and wants me to use a level element (<level>debug</level> or <level value="debug" />) instead. This has been deprecated in the most recent versions of logback for a while now. The <root level="debug"> is indeed the proper way to specify a level in the logback.xml file. How do I get IntelliJ to use the proper xml schema? I do not see a schema for logback anywhere. Logback's documentation doesn't mention a schema or DTD. I don't see how to turn it off in IntelliJ via the inspection settings.
请先登录再写评论。
Why is this still pending?
I've done this somewhere else. I'm not sure why there are two places for my issue. Someone from IntelliJ said they have made a formal report or something. They told me to remove the <DOCTYPE! Configuration> element from the xml and the problem goes away and it did.