ID:               45770
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dueyduong at gmail dot com
-Status:           Closed
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: IIS6
 PHP Version:      5.2.6


Previous Comments:
------------------------------------------------------------------------

[2008-08-10 03:29:01] dueyduong at gmail dot com

For some reason Wordpad displays the log file all on one line (this
wasn't the case w/ PHP v4.4).  I opened the log file w/ Notepad and it's
fine.  Same w/ CLI ("type").  No bug.

------------------------------------------------------------------------

[2008-08-09 19:20:12] [EMAIL PROTECTED]

Works fine for me using CLI. Please try it yourself too.

------------------------------------------------------------------------

[2008-08-09 17:31:38] dueyduong at gmail dot com

Alright let me try again.

Ok -- display_errors is turned Off. log_errors is turned On.

error_log = "/logs/php-errors.log"

Now, when there is an error and the log file is written to, each error
entry in the log file is written to the same (single) line in the log
file, without any line breaks.

For example:

These options need to match
 in Unknown on line 0 [09-Aug-2008 10:24:53] PHP Parse error:  syntax
error, unexpected T_ECHO in C:\...httpdocs\priv\test.php on line 5
[09-Aug-2008 10:26:18] PHP Parse error:  syntax error, unexpected
T_ECHO, expecting ',' or ';' in C:\...httpdocs\priv\test.php on line 7
[09-Aug-2008 10:26:20] PHP Parse error:  syntax error, unexpected
T_ECHO, expecting ',' or ';' in C:\...\httpdocs\priv\test.php on line 7

In this example, there were 3 instances of errors, and they should each
be on a separate line in the log file. Instead, all 3 error logs are on
the same single line without any line breaks between each error.

Hope that is clear now.

------------------------------------------------------------------------

[2008-08-09 16:45:20] [EMAIL PROTECTED]

So what is it set to? PLEASE be more specific, we can't read
minds..unfortunately.

------------------------------------------------------------------------

[2008-08-09 01:00:16] dueyduong at gmail dot com

Sorry for not being clear to begin with -- error_log the php.ini
option, not the function.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/45770

-- 
Edit this bug report at http://bugs.php.net/?id=45770&edit=1

Reply via email to