VM Manager Tool log files

You can gather the log files to determine problems that are related to the VM Manager Tool. You can also change the log settings.

You can collect the log files in the following ways.

VM Manager Tool installation directory
VM Manager Tool log files are by default stored in the following directory.
  • For local VM Manager Tool
    • Linux /opt/ibm/LMT/VMMAN/logs
    • Windows C:\Program Files\ibm\LMT\VMMAN\logs
  • For central and distributed VM Manager Tool
    • Linux /var/opt/BESClient/LMT/VMMAN/logs or /opt/BESClient/bin/LMT/VMMAN/logs depending on your version of VM Manager Tool
    • Windows C:\Program Files (x86)\BigFix Enterprise\BES Client\LMT\VMMAN\logs
  • For disconnected VM Manager Tool
    • Linux VM Manager Tool install dir/logs
    • Windows VM Manager Tool install dir\logs
Command

You can gather the complete set of logs by running the -retrievedebugdata command. For more information, see: VM Manager Tool command-line options.

User interface

9.2.44 Starting from application update 9.2.44, you can download log files from the user interface. This method works only for VMs from which data is collected by the local VM Manager Tool.

To download the log file, perform the following steps.
  1. Log in to License Metric Tool and go to Management > VM Managers.
  2. Click on the VM manager for which you want to download the log file.
  3. Click the Collect debugData link at the bottom of the page.

Log settings

To change the log settings, edit the following file:
  • log4j.properties for application update 9.2.20 and lower
  • log4j2.xml for application update 9.2.21 and higher
The file is located in the following directory.
  • For local VM Manager Tool
    • Linux opt/ibm/LMT/VMMAN/config
    • Windows C:\Program Files\ibm\LMT\VMMAN\config
  • For central and distributed VM Manager Tool
    • Linux /var/opt/BESClient/LMT/VMMAN/config or /opt/BESClient/bin/LMT/VMMAN/config depending on your version of VM Manager Tool
    • Windows C:\Program Files (x86)\BigFix Enterprise\BES Client\LMT\VMMAN\config
  • For disconnected VM Manager Tool
    • Linux VM Manager Tool install dir/config
    • Windows VM Manager Tool install dir\config
The following parameters are most useful.
Table 1. Log settings
Application update 9.2.20 and lower Application update 9.2.21 and higher
  • log4j.appender.mylogger.maxFileSize specifies the maximum size of a log file

    Default value = 1000 KB

  • log4j.appender.mylogger.MaxBackupIndex specifies the maximum number of log files

    Default value = 10

  • log4j.rootLogger specifies the logging level

    Default value = INFO. You can change it to DEBUG to enable debug logging

  • SizeBasedTriggeringPolicy specifies the maximum size of a log file

    Default value = 1 MB

  • DefaultRolloverStrategy specifies the maximum number of log files

    Default value = 10

  • Root level specifies the logging level

    Default value = INFO. You can change it to DEBUG to enable debug logging