Search Engine: Elastic

Article ID: 114610, created on Aug 20, 2012, last review on Dec 15, 2016

  • Applies to:
  • Operations Automation 5.4
  • Log into the WPE server by RDP
  • Open the <WPE Installation Directory>\Web.config file in notepad, in the default installation it is the C:\Program Files\Parallels\Windows Provisioning Engine\Web.config file
  • Find the configuration/loggingConfiguration/categorySources/add element
  • Append the Verbose value to the list:

    <add switchValue="Verbose,Information,ActivityTracing" name="PA Windows Provisioning Engine">
        <listeners>
            <add name="WPE Rolling File Trace Listener with Purger" />
        </listeners>
    </add>
    
  • [optional] If you need to have milliseconds in log timestamps (as only seconds are logged by default):
    • Find the configuration/loggingConfiguration/formatters/add element
    • add ".fffffff" to the format string.

The default setting:

    <add LogEntryTemplate="{severity}{tab}{timestamp(local:yyyy-MM-dd HH:mm:ss)} ({processId}/{win32ThreadId}): {message}"

The updated setting:

    <add LogEntryTemplate="{severity}{tab}{timestamp(local:yyyy-MM-dd HH:mm:ss.ffffff)} ({processId}/{win32ThreadId}): {message}"

Changes will be applied immediately, no need to restart any service.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae ac82ce33439a9c1feec4ff4f2f638899 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF