Welcome! Log In Create A New Profile


Error Log Client IP Missing

October 09, 2023 11:27AM
So, I have an issue with error log.
Sometimes, it doesn't show client IP. Example is here:
In first [error] message I can see "client:" block, which shows the IP.
But in the second one [error] message it seems to me, that I don't see IP because of the particular reason - PHP Error Message overflows some buffer which Nginx provides for error message, so the Nginx logs entry without any other additional information.
Is that correct assumption?
If so - can I change the size of the buffer somehow?
And is it possible at all to change error log's format? For instance place "client" as first entry in the log line?

I mean, probably everything is possible if you take sources and write your own version with custom tweaking, but I'm looking for existing tools/settings. Thank you!
Subject Author Posted

Error Log Client IP Missing

KitPavloNaMopedi October 09, 2023 11:27AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 341
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready