Big log.xml could hurt ARA system's performance

Document ID : KB000090422
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Affects Release version(s): 5

Big log.xml could hurt ARA system's performance
Resolution:

Symptoms

When customer using ARA (Application Release Automation) with the default setting, and when system run certain of time and you may experience some slowness.

There are multiple reasons for the slowness. One of them is big size of "log.xml"


Cause

The file "log.xml" which is located in "C:\inetpub\wwwroot\WebUI\logs\log.xml"  will become larger and larger. Since it's in xml format, which is not simply updated by just appending the log at the end. It needs to open the file and seek to the right place to write the log file. In the case of very big file, it might hurt the performance of the system.

Actually, this log is already replaced by a text log file. So basically, it's not necessary to keep the log.xml.

From the version ARA 4.5.3 (the upcoming release version) or ARA 5.1.0, there will not be log.xml as default.

Follow the step below to check and update log configuration to eliminate this file , It'll be sure a simple and safe 


Resolution

Steps to deactivate the log.xmlfile are:

  1.  Open "log4net.config" in folder config of ARA/ IIS/ WebUI/ installation normally it looks like  "C:\inetpub\wwwroot\WebUI\config\log4net.config"
  2.  Remove the element appender with name XMLAppender.
  3.  Find the <root> element, removethe line <appender-ref ref="XMLAppender" />
  4.  Save the "log4net.config" file. New setting should be taken effect immediately and no need to restartthe web app.