Start a conversation

Enabling Debug Logging in GFI LanGuard

Overview

This article provides information on how to enable debug logging in GFI LanGuard.

Diagnosis

By default, debug mode is now enabled in GFI LanGuard. However, if you disabled it in the past, for troubleshooting purposes, it may be necessary to temporarily enable it.

 

Solution

From the GFI LanGuard console, click the menu button on the top left and navigate to Help > Enable debug.

Note: If the Enable Debug option is grayed out, this means Debug mode is already enabled. 

If the console is inaccessible, or on the Agent machine, you can enable Debug mode using the Registry Editor instead:

  1. If the machine is GFI LanGuard Server - close the GFI LanGuard UI (console).
  2. Stop the GFI LanGuard Attendant Service.
    1. Press Windows + R keys together to open the Run dialog box.
    2. Type services.msc and press the Enter key.
    3. Locate and stop the GFI LanGuard Attendant Service.
  3. Open the Registry Editor (Start > Run > type Regedit and press Enter).
  4. In the Registry Editor, browse to the following key:
    • For 32-bit installations:
      HKEY_LOCAL_MACHINE\SOFTWARE\GFI\LNSS<version number>\Config.
    • For 64-bit installations:
      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\GFI\LNSS<version number>\Config.
  5. Change the DWORD value for Debug to 1.
  6. Add/modify the key multifilebackupcount, and set it to a decimal 10(or the value requested by Technical Support).
    To add:
    1. In Registry Editor, do either of the below:
      • Navigate to Edit > New from the top menu.
      • Right-click (on some blank space) in the Registry Editor and choose New.
    2. Under the New menu, choose DWORD (32-bit) Value.
    3. Type multifilebackupcount for the name.
  7. Close the Registry Editor.
  8. Restart the GFI LanGuard Attendant Service stopped in step 2.

 

Testing

Navigate to the LanGuard debugging log files location, typically C:\ProgramData\GFI\LanGuard 12\DebugLogs,  to confirm that logs are being written.

mceclip0.png

Note: If you wish to disable debugging - set Debug to 0 in the procedure above).

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments