Red Hat Bugzilla – Bug 835794
Log configuration for config-tool should be improved
Last modified: 2016-02-10 14:04:45 EST
Description of problem:
A log4j file appender that will enable logging to file should be added to the log4j configuration.
The file appender should be set to DEBUG (users will be able to edit it) in order to provide by default logging to file at DEBUG level.
This can help in troubleshooting problems when running the engine-config tool.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Please elaborate how to test this fix.
A log file should be created under - /var/log/engine/engine-config and named engine.config
It should contain DEBUG entries for the engine-config tool.
Of course, It will possible to edit the log4j.xml file and to change the logging level (for example, change it to INFO) and see that debug entries are not logged anymore.
engine-config.log will be created under /var/log/ovirt-engine/engine-config.log
Suggested patch -