We’re thrilled to introduce cPFence LogSpot, a groundbreaking new module designed specifically for Enhance servers! Say goodbye to missing logs—LogSpot provides your clients with beautifully detailed, secure, and real-time traffic analytics for their websites, right in their browser.
What is LogSpot?
LogSpot continuously watches and stores all HTTP logs for every website on your server and turns them into detailed traffic reports without any impact on your server’s resources. LogSpot delivers this seamlessly, bringing sleek, user-friendly analytics directly to your clients.
Key Features
Real-time web log analysis with fast and useful HTTP stats
One-click setup – works out of the box for all websites
Per-site secure password protection (auto-generated)
Log size limits per site (default 100MB, configurable)
GeoIP auto-update (IPv4 + IPv6 support)
Interactive CLI viewer for fast sysadmin access
Seamless WHMCS integration for clients
Stunning Real-Time Analytics
LogSpot harnesses the power of GoAccess to provide:
- Instant visitor insights, including countries, IPs, and referrers
- Detailed OS and browser statistics
- Real-time visitor tracking and unique visitor counts
- Beautiful modern UI with Dark Mode included!
All reports are instantly accessible at:
https://domain.com/traffic-reports/
Effortless Setup & Secure Access
Getting started couldn’t be simpler—activate LogSpot on your Enhance server with just one command:
cpfence --enable-logspot
How to activate Auto Login:
cpfence --ui → System Settings → cPFence LogSpot Module → Enable/Disable Website ID login
A secure password is automatically generated per user (easily customizable), keeping your traffic reports safe and private:
/var/www/uuid/cpf_logs/yourpassword.txt
Zero Footprint, Maximum Performance
cPFence LogSpot works silently behind the scenes without hogging CPU or memory. Enjoy maximum insight with minimal resource usage, even at scale.
Bonus CLI Viewer for Admins
Admins, we didn’t forget you! Enjoy our incredible terminal-based log viewer:
cpfence --logspot-logs-viewer
Monitor and search website traffic live, right from your terminal.
Easily Manage Your Logs
- Adjust per-website log size (default 100MB)
- Auto-update GeoIP databases for accurate visitor tracking
- Quickly disable or remove logs if ever needed:
cpfence --disable-logspot
cpfence --remove-logspot-data
Seamless Auto Login WHMCS Integration
We’ve enhanced our WHMCS integration, making it easier than ever for clients to access their traffic analytics:
Update your WHMCS Enhance module at:
/whmcspath/modules/servers/enhance/enhance.php
Replace the existing enhance_ClientArea
function with our improved version from this gist:
https://gist.github.com/cPFence/41c32ca43ecd1423ae9ff6d12437af8a (Auto Login )
https://gist.github.com/cPFence/06b053c79bad40729f2d7d2609b6f1c9 ( No Auto Login )
Your clients will instantly see a sleek Traffic Analytics button in their WHMCS dashboard:
Note for users running our daily updates and log maintenance script:
If you’re using the script from this guide, please make sure to update it to exclude `cpf_logs` directories from log rotation. These logs are managed automatically by the LogSpot module, and external truncation could interfere with analytics accuracy.
You can exclude them by adjusting the `find` command like this:
/usr/bin/find /var/www \
-path "*/cpf_logs/*" -prune -o \
\( -name "*.log" -o -name "*_log" \) -size +5M -type f -exec sh -c '
for file; do
tail -c 5M "$file" | /usr/bin/sponge "$file"
done
' sh {} +
The script on our GitHub Gist has been updated to reflect this change. Make sure to grab the latest version if you’re using LogSpot.
Ready to Transform Your Enhance Experience?
LogSpot is just one piece of the puzzle. With cPFence, you get a full suite of powerful modules built specifically for Enhance servers:
- WP AutoShield® – One-click protection and updates for WordPress
- Spam AutoShield® – Full server-wide spam control and Rspamd training
- MonitorPro® – Uptime and keyword monitoring with instant alerts
- ApiMachine® – Bulk management of your Enhance cluster
- Owl AutoMySQL® – Smart 24/7 process monitoring with One-Click MySQL Resource Limits
- IPv6 Security & Database Scanning – Complete IPv6 protection and database security
All designed to improve security, automate tasks, and give you more control—at a fraction of the cost you’d expect.
Start your free trial today and experience the full power of cPFence.
is it possible to change the password for each website?
Yes, simply change the password in /var/www/uuid/cpf_logs/yourpassword.txt