log4J:Error

Hi.
I added this lines to log.xml(sent me by JetBrains support to debug file watcher):

  • <category name="#com.intellij.vfs.local.win32">

]]>*
And got these errors:

  • log4j:ERROR Parsing error on line 56 and column 23

log4j:ERROR The content of element type "log4j:configuration" must match "(renderer,appender,category,root?)".

But it seems that the elemend i added does match the dtd.

Please help.
Thanks
Boaz

2 comments
Comment actions Permalink

only thing i see from the error message is maybe you inserted this category at the wrong place in the file ?
The message suggests all category elements should be defined between appender definitions and root.

Safest place would be to insert your category just before the root definition

0
Comment actions Permalink

Thanks Thibaut.

It solve my problem.

Regards
Boaz

0

Please sign in to leave a comment.