How to Enable or Disable LogSpot v2 ?

This guide explains how to enable LogSpot v2, apply the required WHMCS modification, and access the LogSpot interface.

Step 1: Enable LogSpot v2

You can enable LogSpot v2 either from the CLI or directly from the WebUI.

Using CLI:

cpfence --enable-logspot

Using WebUI:


Navigate to WebUI > System Settings > Manage LogSpot v2 Module, then click Enable LogSpot Module. From the same page, you can also adjust the per-day log file size limit, restart the module, enable or disable auto login, and clear LogSpot data.

Step 2: Optional – Enable WHMCS Auto Login

If you want one-click access to LogSpot from WHMCS, enable auto login.

Using CLI:

cpfence --enable-logspot-autologin

Using WebUI:


Go to WebUI > System Settings > Manage LogSpot v2 Module and click Enable LogSpot Auto Login.

Step 3: Apply the WHMCS Modification

Edit the Enhance module file in your WHMCS installation:

/whmcspath/modules/servers/enhance/enhance.php

Replace the existing enhance_ClientArea function with one of the following versions:

Your clients will instantly see a sleek Traffic Analytics button in their WHMCS dashboard:

Step 4: Access LogSpot v2

Once enabled, LogSpot v2 is accessible at the following URL for all domains on the server :

https://your-domain.com/traffic-reports/

How to Disable LogSpot v2

LogSpot v2 can be disabled at any time from the CLI or the WebUI.

Using CLI:

cpfence --disable-logspot

Using WebUI:
Navigate to WebUI > System Settings > Manage LogSpot v2 Module, then click Disable LogSpot Module.

How to Remove All LogSpot v2 Data

If you want to completely remove all LogSpot v2 data from the server, including traffic reports and stored log files for all domains, you can do so from the CLI or the WebUI.

Using CLI:

cpfence --remove-logspot-data

Using WebUI:
Navigate to WebUI > System Settings > Manage LogSpot v2 Module, then click Remove LogSpot Data. This will permanently delete all LogSpot traffic logs and reports for every domain on the selected server(s).


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 2 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

Troubleshoot Common Issues with LogSpot Not Working

If you're seeing a 404 error or experiencing issues with LogSpot not working as expected, this...

Powered by WHMCompleteSolution