Hi. Maybe someone can help-me...
In php.ini, I have defined:
error_reporting = E_ALL & ~E_NOTICE
log_errors = on
error_log = /var/log/php_error_log
All works fine, the file is ok. But PHP do not write the IP of the machine that have made the request.
An exemple: someone tried to log in on the Mysql server; the php_error_log brings date, time, description of the error (MySQL conection failed: Access denied for user ...), the file used and the line in this file. But don't write the IP of the machine that have tried to log in without permission.
How can I implement this? Is this possible?
Thanks to all.
Denilson