5.5.2

Table Of Contents
Loss of Server Logs
You might experience loss of logs if you use the vmo.bat file to restart the Orchestrator server.
Problem
If you start the Orchestrator server as a service and you then restart the Orchestrator server by running the
vmo.bat file directly, you can experience a potential loss of logs.
Cause
Logs can be lost if you start the Orchestrator server as a service and restart it by using the vmo.bat. This
behavior can cause the server to run with different permissions.
Solution
1 Right-click My Computer on your desktop and select Manage.
2 In the Computer Management dialog box, expand Services and Applications and select Services.
3 In the right pane, right-click and select VMware vCenter Orchestrator Server > Restart.
Filter the Orchestrator Log Files
You can filter the Orchestrator server logs for a specific workflow run and collect diagnostic data about the
workflow run.
The Orchestrator logs contain a lot of useful information, but not every log entry has diagnostic context.
When multiple instances of the same workflow are running at the same time, you can track the different
workflow runs by filtering the diagnostic data about each run in the Orchestrator logs.
Procedure
1 Log in as an administrator to the machine on which the Orchestrator server is installed.
2 Navigate to the log4j.xml file and open it in a text editor.
Option Action
If you installed the standalone
version of Orchestrator
Go to install_directory\VMware\Orchestrator\app-
server\conf\log4j.xml.
If the vCenter Server installed
Orchestrator
Go to
install_directory\VMware\Infrastructure\Orchestrator\app-
server\conf\log4j.xml.
3 Find the following entry:
<layout class="org.apache.log4j.PatternLayout"> <param
name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss.SSSZ} %-5p
[%c{1}] %m%n"/> </layout>
4 Change the conversion pattern.
<layout class="org.apache.log4j.PatternLayout"> <param
name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss.SSSZ} %-5p
[%c{1}][%X{value_name}] %m%n"/> </layout>
Where value_name is the name of the available diagnostic values. The possible names are:
Option Description
username
The name of the user who started the workflow
workflowName
The name of the running workflow
Installing and Configuring VMware vCenter Orchestrator
92 VMware, Inc.