note 116235 added to errorfunc.configuration
| From: | php dot net at sp-in dot dk | Date: | Thu, 27 Nov 2014 09:59:56 +0000 |
| Subject: | note 116235 added to errorfunc.configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201027@lists.php.net to get a copy of this message | ||
There does not appear to be a way to set a tag / ident / program for log entries in the ini file
when using error_log=syslog. When I test locally, "apache2" is used.
However, calling openlog() with an ident parameter early in your script (or using an
auto_prepend_file) will make PHP use that value for all subsequent log entries. closelog() will
restore the original tag.
This can be done for setting facility as well, although the original value does not seem to be
restored by closelog().
----
Server IP: 72.52.91.14
Probable Submitter: 87.51.7.99
----
Manual Page -- http://php.net/manual/en/errorfunc.configuration.php
Edit -- https://master.php.net/note/edit/116235
Del: integrated -- https://master.php.net/note/delete/116235/integrated
Del: useless -- https://master.php.net/note/delete/116235/useless
Del: bad code -- https://master.php.net/note/delete/116235/bad+code
Del: spam -- https://master.php.net/note/delete/116235/spam
Del: non-english -- https://master.php.net/note/delete/116235/non-english
Del: in docs -- https://master.php.net/note/delete/116235/in+docs
Del: other reasons-- https://master.php.net/note/delete/116235
Reject -- https://master.php.net/note/reject/116235
Search -- https://master.php.net/manage/user-notes.php