note 124369 added to function.error-log
| From: | MatthewSwift@php.net | Date: | Tue, 05 Nov 2019 13:32:53 +0000 |
| Subject: | note 124369 added to function.error-log | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-212924@lists.php.net to get a copy of this message | ||
Relative paths are accepted as the destination of message_type 3, but beware that the root directory
is determined by the context of the call to error_log(), which can change, so that one instance of
error_log () in your code can lead to the creation of multiple log files in different locations.
In a WordPress context, the root directory will be the site's root in many cases, but it will
be /wp-admin/ for AJAX calls, and a plugin's directory in other cases. If you want all your
output to go to one file, use an absolute path.
----
Server IP: 208.43.231.9
Probable Submitter: 82.199.157.54 (proxied: 73.114.210.215)
----
Manual Page -- http://php.net/manual/en/function.error-log.php
Edit -- https://master.php.net/note/edit/124369
Del: integrated -- https://master.php.net/note/delete/124369/integrated
Del: useless -- https://master.php.net/note/delete/124369/useless
Del: bad code -- https://master.php.net/note/delete/124369/bad+code
Del: spam -- https://master.php.net/note/delete/124369/spam
Del: non-english -- https://master.php.net/note/delete/124369/non-english
Del: in docs -- https://master.php.net/note/delete/124369/in+docs
Del: other reasons-- https://master.php.net/note/delete/124369
Reject -- https://master.php.net/note/reject/124369
Search -- https://master.php.net/manage/user-notes.php