crazy-max / cws-ovh-logs-downloader
PHP class to download the Apache access and error, FTP, CGI, Out and SSH logs available on http://logs.ovh.net from a shared hosting.
Requires
- php: >=5.3.0
- crazy-max/cws-curl: ~1.10
- crazy-max/cws-debug: ~1.11
README
⚠️ Abandoned project
This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.
Thanks to everyone for their valuable feedback and contributions.
About
PHP class to download the Apache access and error, FTP, CGI, Out and SSH logs available on http://logs.ovh.net from a shared hosting.
Installation
composer require crazy-max/cws-ovh-logs-downloader
And download the code:
composer install # or update
Getting started
See tests/test.php
file sample to help you.
Example
Methods
getLogsWeb - Retrieve logs web.
getLogsError - Retrieve logs error.
getLogsFtp - Retrieve logs ftp.
getLogsCgi - Retrieve logs cgi.
getLogsOut - Retrieve logs out.
getLogsSsh - Retrieve logs ssh.
getAll - Retrieve all logs types.
setNic - Set the OVH NIC-handle. (e.g. AB1234-OVH).
setPassword - Set the OVH NIC-handle password.
getDomain - Your OVH domain.
setDomain - Set the OVH domain (e.g. crazyws.fr).
getDlPath - The download directory.
setDlPath - Set the download directory. (default 'logs/')
isDlEnable - Is downloading enable.
setDlEnable - Set download activation. (default false)
isOverwrite - Is overwriting enable.
setOverwrite - Set overwrite activation. (default false)
getError - Get the last error.
How can I help ?
All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀
Thanks again for your support, it is much appreciated! 🙏
License
MIT. See LICENSE
for more details.