Skip to content

Genetec / Milestone Hanwha Plug-in Debug Log Setting Method

Overview:

This guide provides the steps to configure log settings for Genetec Plug-in v1.04.00 (or later) and Milestone Plug-in v1.05.00 (or later), as well as for older versions of the plug-ins. Adjusting the log level is essential for troubleshooting and monitoring the system's performance.


Log Setting Method for Genetec Plug-in v1.04.00 (or later) and Milestone Plug-in v1.05.00 (or later)

Step 1: Modify the Configuration File

  1. Navigate to C:\ProgramData\Hanwha Vision Plug-in\.
  2. Open the relevant configuration file that you wish to modify.
  3. Locate the line that specifies minlevel="Info" and change it to minlevel="Debug".

    • Genetec's Configuration Files:
      • SecurityDesk.logger.config
      • Server.logger.config
      • ConfigTool.logger.config
    • Milestone's Configuration Files:
      • Administration.logger.config
      • Service.logger.config
      • SmartClient.logger.config

    Example of the configuration change:

    <?xml version="1.0" encoding="utf-8"?>
     … 
      <rules> 
        <logger 
         name="*" 
         minlevel="Info" <!--Change "Info" to "Debug"--> 
         writeTo="asyncWrapper" /> 
      </rules> 
    </nlog>
    

Step 2: Restart the System

Restart the system for which you want to collect logs:

  • If it's the server, restart the server.
  • If it's the client, restart the client.

Step 3: Locate the Log Files

After restarting, the log files will be generated in the same directory as the configuration files you modified (C:\ProgramData\Hanwha Vision Plug-in\).

Step 4: Reproduce the Issue

Reproduce the issue you want to log to ensure the necessary events are captured in the log files.

Step 5: Submit the Log Files

Retrieve the log files from the directory you specified in Step 2 (C:\ProgramData\Hanwha Vision Plug-in\) and send them for analysis.

Step 6: Reset Logging

Logging at the Debug level can increase the amount of data generated, which may affect system performance, so it is recommended to reset the logging configuration once troubleshooting is complete.


Log Setting Method for Genetec Plug-in v1.03.00 (or earlier) and Milestone Plug-in v1.04.00 (or earlier)

Step 1: Save the Config.ini File

Save the attached config.ini file to the plug-in installation directory:

  • C:\Program Files (x86)\Security Center Plugins\HanwhaVision.AICameraServer
  • C:\Program Files (x86)\Security Center Plugins\HanwhaVision.AICameraClient

Step 2: Modify the Log Path in the Config.ini File

  1. Open the config.ini file.
  2. Modify the strPath value to specify the directory where log files will be saved.

    Example:

    strPath : D:\PluginLogs
    

Step 3: Restart Genetec Server

Restart the Genetec Server for the changes to take effect.

Step 4: Reproduce the Issue

Reproduce the issue you want to log to ensure the necessary events are captured in the log files.

Step 5: Submit the Log Files

Retrieve the log files from the directory you specified in Step 2 and send them for analysis.

Step 6: Reset Logging

After collecting the necessary logs, delete the config.ini file and restart the Genetec Server. This step is crucial to prevent performance degradation caused by continuous logging.


Note:

  • Be sure to follow the steps carefully to avoid misconfigurations.
  • Logging at the Debug level can increase the amount of data generated, which may affect system performance, so it is recommended to reset the logging configuration once troubleshooting is complete.