Edit report at https://bugs.php.net/bug.php?id=45191&edit=1

 ID:                 45191
 Comment by:         rohgeo at gmail dot com
 Reported by:        info at organicdata dot co dot za
 Summary:            error_log ignores date.timezone php.ini val when
                     setting logging timestamps
 Status:             Closed
 Type:               Bug
 Package:            Date/time related
 Operating System:   Centos el5
 PHP Version:        5.2CVS-2008-06-05 (snap)
 Assigned To:        derick
 Block user comment: N
 Private report:     N

 New Comment:

Same problem here with PHP 5.4.5.


Previous Comments:
------------------------------------------------------------------------
[2012-07-17 09:54:40] rohgeo at gmail dot com

php 5.4.4
all messages in /var/log/php_errors.log have UTC timestamps

------------------------------------------------------------------------
[2012-06-23 13:55:17] bram at ebskamp dot me

Same problem here with PHP 5.4.3.

------------------------------------------------------------------------
[2012-05-30 07:32:57] rohgeo at gmail dot com

php 5.4.3
all messages in /var/log/php_errors.log have UTC timestamps.

------------------------------------------------------------------------
[2012-05-03 14:37:16] php at sboxx dot org

Red Hat Entrprise Linux 6.2
PHP 5.4.1
date.timezone = Europe/Berlin
log_errors = On
error_log = /var/log/php_errors.log

All messages in /var/log/php_errors.log have UTC timestamps.
System time is set and correctly displayed as CET/CEST.

------------------------------------------------------------------------
[2012-02-12 09:56:41] wadkar at gmail dot com

@christopher
Interesting observation. My report is with 5.3.8 version, which outputs the log 
with UTC timestamp (the timezone is part of it). I am getting a feeling that 
this might not be a direct issue with php-src but somewhere in between system 
calls made by php-src for logging and the OS itself which passes on TZ data for 
this call.

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


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

    https://bugs.php.net/bug.php?id=45191


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

Reply via email to