php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #61931 Built-in web server should have a seperate log file
Submitted: 2012-05-03 20:46 UTC Modified: -
Votes:11
Avg. Score:4.3 ± 1.2
Reproduced:10 of 10 (100.0%)
Same Version:7 (70.0%)
Same OS:4 (40.0%)
From: roberts at x0 dot lv Assigned:
Status: Open Package: Built-in web server
PHP Version: 5.4.2 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: roberts at x0 dot lv
New email:
PHP Version: OS:

 

 [2012-05-03 20:46 UTC] roberts at x0 dot lv
Description:
------------
All PHP version 5.4.+ built-in web servers does log errors only in STDOUT 
with no option to redirect this output to file via command line option. Command 
line redirect would not be a option here, as because one needs to stop PHP web 
server instance before output gets written to the file. 

There should be .ini option added - server_log or similar, to 
configure log output to file or to STDOUT.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-03 10:06 UTC] clavie dot b at gmail dot com
Hi,

I agree that it should be possible to redirect the log to a separate file. But I 
would see that as an option to the built-in server command rather than a new ini 
configuration option.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 18:01:29 2024 UTC