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

 ID:                 61013
 Updated by:         ahar...@php.net
 Reported by:        mgoebel at emich dot edu
 Summary:            Php logging to a file now defaults to UTC?
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            Date/time related
 Operating System:   Solaris 10, and SLES 11.1
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

Duplicate of bug #60723.


Previous Comments:
------------------------------------------------------------------------
[2012-02-08 21:05:40] carloschilazo at gmail dot com

The issue was that the local time flag was set to 0, with attached fix the 
local 
time flag is now fixed and the log string now contains the local time instead 
of 
UTC

------------------------------------------------------------------------
[2012-02-08 16:20:36] mgoebel at emich dot edu

Description:
------------
I have a pretty generic setup on both Solaris 10 and SLES 11.1, and both setups 
have "date.timezone = America/Detroit" in their php.ini files.  After I 
upgraded from 5.3.8 to 5.3.10 all of the log entries are now using UTC instead 
of the localy defined timezone.

[08-Feb-2012 09:59:38] PHP Deprecated: ...
[08-Feb-2012 09:59:38] PHP Deprecated: ...
[08-Feb-2012 15:00:15 UTC] PHP Deprecated: ... 
[08-Feb-2012 15:00:15 UTC] PHP Deprecated: ... 
[08-Feb-2012 15:00:37 UTC] PHP Warning: ...

All of webpages seem to be handing date/times correctly, just the logging seems 
to be having issues.



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



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

Reply via email to