Bug #73546 [Opn->Csd]: Logging for opcache has an empty file name
| From: | nikic@php.net | Date: | Wed, 16 Nov 2016 20:35:43 +0000 |
| Subject: | Bug #73546 [Opn->Csd]: Logging for opcache has an empty file name | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-205419@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73546&edit=1
ID: 73546
Updated by: nikic@php.net
Reported by: mhagstrand at gmail dot com
Summary: Logging for opcache has an empty file name
-Status: Open
+Status: Closed
Type: Bug
Package: opcache
Operating System: Any
PHP Version: 7.0.13
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of mhagstrand@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=1d8be7c044c0e4a7d985e7b02fe81644a636542d
Log: Fix #73546: Logging for opcache has an empty file name
Previous Comments:
------------------------------------------------------------------------
[2016-11-16 19:57:58] mhagstrand at gmail dot com
Updating summary
------------------------------------------------------------------------
[2016-11-16 19:53:51] mhagstrand at gmail dot com
Description:
------------
If the log_verbosity_level set to INFO (3) or higher it should output the filename of the script
when it is cached. In the logs the filename is an empty string.
Test script:
---------------
--- php.ini ---
opcache.enable=1
opcache.enable_cli=1
opcache.log_verbosity_level=4
--- script ---
<?php
echo "Hello World!\n";
?>
Expected result:
----------------
Wed Nov 16 19:05:22 2016 (5299): Message Cached script '/tmp/testlogging.php'
Wed Nov 16 19:05:22 2016 (5299): Message Added key 'test.php:189568:189616'
Hello World!
Actual result:
--------------
Wed Nov 16 19:05:22 2016 (5299): Message Cached script ''
Wed Nov 16 19:05:22 2016 (5299): Message Added key 'test.php:189568:189616'
Hello World!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73546&edit=1