VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Enabling Verbose (Debug) Logging in Lab Manager 2.x

Details

The following solution describes how to enable debug (verbose) logging for a Lab Manager system.  This includes the Lab Manager Server, the Lab Manager Manged Servers (ESX Servers), and the install.

Solution

Lab Manager Server

  1. In a text editor, open the file [c:]\Inetpub\wwwroot\LabManager\Web.config
  2. Find the following line:
    <!--
    <appender-ref ref="DebugLogFile" />
    -->
  3. Delete the comment portions <!-- and --> so that the line appears as:
    <appender-ref ref="DebugLogFile" />
  4. Save the Web.config file.
  5. Open the file [c:]\Program Files\VMware\VMware Lab Manager Server\MonitorService.exe.config
  6. Find the following lines and delete the comment tag (<!-- and --> ):
    <!--
      <appender-ref ref="BackendServiceDebugLogger"/>
      <appender-ref ref="MonitorDebugLogger"/>
    -->

    so that the line appears as:
    <appender-ref ref="BackendServiceDebugLogger"/>
    <appender-ref ref="MonitorDebugLogger"/>
  7. Save the file.
  8. Restart the VMware Lab Manager Monitor service.
  9. Open the file [c:]\Program Files\VMware\VMware Lab Manager Server\SupportService.exe.config
  10. Repeat steps 2-4.
  11. Restart VMware Lab Manager SupportLink service.
    The debug log files appear in [c:]\Documents and Settings\All Users\Application Data\VMware\VMware Lab Manager\Logs . The files are: LabManagerDebug.log and SupportLinkDebug.log .

Host (ESX Server)

  1. Edit /usr/lib/labmanager/lm-agent.exe.config
  2. Find the line
    <!-- <appender-ref ref="DebugLogFile" /> -->
  3. Delete the comment portions <!-- and --> so that the line appears as:
    <appender-ref ref="DebugLogFile" />

    The debug log file agentdebug.log is available at /var/log/labmanager/
  4. Run the command:
    service lm-agent restart

Lab Manager Installer

On the computer where you are running the installer for Lab Manager, enter the following at a command prompt (replace [labmanagerinstall] with the exact file name of the installer):
[labmanagerinstall].exe /verbose "c:\installlog.log"
For example: VMware-labmanager-server-2.5.0.405.exe /verbose "c:\installlog.log"

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions