Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Custom log

$
0
0
Hi,

Is it possible to make a custom log with php-fpm where I can add
environment variables?
I ask this, because I want to add the IP of the user which caused the
access/error log.

We run a nginx<->php-fpm combination.
Previously we had apache2 and that showed us the IP of the users on every
access/error line, so we could debug which user caused the Fatal to fix the
bug.

Anyone has experience with php-fpm to fix this issue?

Ali

--

---
You received this message because you are subscribed to the Google Groups "highload-php-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>