Facebook Leads Integration - Log Directory
==========================================

This directory contains log files for the Facebook Leads Integration module.

Log Files:
----------
- info_YYYY-MM-DD.log    : Informational logs (API requests, successful imports)
- error_YYYY-MM-DD.log   : Error logs (API failures, import errors)
- cron.log               : Cron job execution logs (optional)

Security:
---------
This directory is protected by .htaccess to prevent web access.
Log files are automatically deleted after 30 days.

Permissions:
------------
Ensure this directory is writable by the web server:
chmod 777 logs/

Monitoring:
-----------
To monitor logs in real-time:
tail -f logs/info_*.log
tail -f logs/error_*.log

Troubleshooting:
----------------
If logs are not being created:
1. Check directory permissions (should be 777)
2. Ensure PHP can write to this directory
3. Check Perfex error logs for PHP errors

For more information, see the module documentation.

