Photorealistic visualization of software configuration states, showing enabled and disabled system modules that control logfile retention and log generation in a SaaS environment.

Managing Logfile Retention & Disabling Logfile Generation

INSYNCR provides flexible options for controlling how diagnostic logfiles are handled. By default, the system keeps 15 days of logs to support troubleshooting, but you can easily adjust this retention period or disable logging entirely through simple registry settings. This guide walks you through where to configure these options and the exact steps to fine-tune logfile behaviour for your environment.

Adjusting the Number of Days INSYNCR Keeps Logfiles

INSYNCR creates a new logfile each day to help with diagnostics and support. By default, the system automatically retains 15 days of history and removes older files during the nightly cleanup cycle.

If your environment requires a shorter or longer retention period, you can override the default by adding a registry value. This allows you to fine‑tune how much historical data INSYNCR keeps.

Where to Configure Retention

You can define the retention period at three different registry levels:

Scope

Registry Path

Applies To

All users – all INSYNCR products

HKEY_LOCAL_MACHINE\Software\INSYNCR\NumberLogFiles

System‑wide

Current user – all INSYNCR products

HKEY_CURRENT_USER\Software\INSYNCR\NumberLogFiles

Only the logged‑in user

Current user – specific product

HKEY_CURRENT_USER\Software\INSYNCR\[PRODUCT]\NumberLogFiles

One INSYNCR product only

Replace [PRODUCT] with the product name like INSYNCR Starter, INSYNCR Business, INSYNCR Professional, INSYNCR Viewer.

How to Set the Retention Value

  1. Open Start → Run, type regedit, and press OK.
  2. Navigate to the registry path that matches your desired scope.
  3. If the INSYNCR key does not exist, create it.
  4. In the right pane, create a new DWORD (32‑bit) Value named: NumberLogFiles
  5. Set its value to the number of days you want to keep (e.g., 7, 30, 60).
  6. Close the Registry Editor.

INSYNCR will automatically remove logfiles older than the configured number of days during its next cleanup cycle.

Disabling Logfile Generation Entirely

In some environments—especially those with strict storage limits or where logging is not required—you may want to disable logfile creation altogether. INSYNCR allows this through a simple registry flag.

Where to Disable Logging

You can disable logging at the same three levels as retention:

Scope

Registry Path

Effect

All users – all INSYNCR products

HKEY_LOCAL_MACHINE\Software\INSYNCR\NoLogFiles

Disables logging system‑wide

Current user – all INSYNCR products

HKEY_CURRENT_USER\Software\INSYNCR\NoLogFiles

Disables logging for the logged‑in user

Current user – specific product

HKEY_CURRENT_USER\Software\INSYNCR\[PRODUCT]\NoLogFiles

Disables logging for one product

How to Disable Logging

  1. Open Start → Run, type regedit, and press OK.
  2. Navigate to the appropriate registry path.
  3. Create the INSYNCR key if it does not exist.
  4. Create a new DWORD (32‑bit) Value named: NoLogFiles
  5. Set the value to:
    • 1 → Disable logfile generation
    • 0 → Enable logfile generation (default)
  6. Close the Registry Editor.

Once enabled, INSYNCR will stop creating new logfiles immediately.

Recommended Posts