Configuring Log File Retention for WebMarshal Services


This article applies to:

  • WebMarshal 6.5 and above 

Question:

  • How do I set the retention time and size limits for WebMarshal service text log files?

Procedure:

In version 6.5 and above, you can set the retention time and file size limits for the text log files on the Server Properties > Advanced window of the WebMarshal Console.

You can also customize the time and size limits for each service on each server in the WebMarshal array by adding entries to the XML configuration files.

For example, add an attribute entry in the WebMarshal Proxy Configuration file (WMProxy.config.xml) as follows:

<WebMarshal>
   <Proxy>
     <Config>
        <Debug maxLogRetentionDays="4" maxLogLengthMB="2" {other settings} />
     </Config>
  </Proxy>
</WebMarshal>

If the Debug element is already present, do not add another copy of this element. For more information about editing XML documents, see Knowledge Base article Q12705.

To apply the change, restart each service affected.

Notes:

The following services configuration files accept this setting:

  • WMArrayMgr.config.xml
  • WMEngine.config.xml (includes malware scanning engine information)
  • WMController.config.xml
  • WMProxy.config.xml (includes proxy caching information)

Last Modified 9/9/2009.
https://support.trustwave.com/kb/KnowledgebaseArticle12717.aspx