![]() |
|
Logging remote IP in debug log. - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Logging remote IP in debug log. (/thread-12547.html) |
Logging remote IP in debug log. - MarkRH - 2016-07-06 I get this in my debug log every so often. Is there a way to log the IP address of the request causing it? Suppose I can edit the reconfigure.php file and log all accesses to it. Logging remote IP in debug log. - acrylian - 2016-07-07 reconfigure.php is run automatically when Zenphoto checks for changes to the install (security check of files not in the catalog or time changes) and if the server changes (Apache, PHP, MySQL version changes etc.). You see this - if loggedin as an admin - when Zenphoto reports it may have found changes and suggest to re-run setup. Why the constant ADMIN_RIGHTS is not defined, I cannot answer at the moment. Logging remote IP in debug log. - MarkRH - 2016-07-08 Well, I added a log to that file. I trigger that section when loading admin.php (overview tab). That notice doesn't appear in the log though when I am accessing it. Just wait and see until it happens again. Logging remote IP in debug log. - acrylian - 2016-07-08 That check runs in the background actually but of course only puts out a note if something has changed. |