Fail2ban + nginx+PHP

Good morning!

1
Is it possible to have nginx create another log entry on new
lines/several error_log() PHP function?
Now mmultiple error_log()-s are logged as one nginx error.log line.
Apache logs them separatly even in FastCGI mode.

2
Does any of you use fail2ban with nginx+PHP? I mean triggering on PHP
error_log() messages, not on HTTP/auth, non-existent script files etc.

3
When setting PHP error_log directive there is NO IP address prepended
in the log line.

Thank you!
Szépe Viktor

+36-20-4242498 [email protected] skype: szepe.viktor
Budapest, XX. kerület