Description of problem: I get the following: --- log4j:WARN Continuable parsing error 31 and column 23 log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,appender*,(category|logger)*,root?,categoryFactory?)". ---- When setting debug in engine-config {log4j.xml} Version-Release number of selected component (if applicable): 3.1/si8 How reproducible: always Steps to Reproduce: 1.Append in the following in /etc/rhevm/engine-config/log4j.xml <category name="org.ovirt.engine.core.utils"> <priority value="DEBUG"/> <appender-ref ref="CONSOLE"/> </category> 2.restart ovirt-engine (stop, start) 3.run command "rhevm-config -g MaxVmsInPool" Actual results: display WARN messages with correct result: log4j:WARN Continuable parsing error 31 and column 23 log4j:WARN The content of element type "log4j:configuration" must match "(renderer*,appender*,(category|logger)*,root?,categoryFactory?)". MaxVmsInPool: 1000 version: general Expected results: Should not give WARN, or explain how to resolve the WARN Additional info:
log4j dtd expected the root element to be last and will warn on category elements not in place. when you append the <category> element, append it after your last existing category and *before* the <root> element.