msphpsql icon indicating copy to clipboard operation
msphpsql copied to clipboard

Logging from Microsoft SQL Server Driver for PHP uses a different time to normal logging.

Open v-mabarw opened this issue 12 years ago • 1 comments

Hello.

I activated all logging for the sqlsvr extension.

Ran ...

php -r "phpinfo();"

Log file contains ...

[03-Sep-2009 10:45:00] PHP_MINIT_FUNCTION for php_sqlsrv: entering
[03-Sep-2009 09:45:00] sqlsrv: entering rinit
[03-Sep-2009 09:45:00] sqlsrv.WarningsReturnAsErrors = On
[03-Sep-2009 09:45:00] sqlsrv.LogSeverity = 255
[03-Sep-2009 09:45:00] sqlsrv.LogSubsystems = 255
[03-Sep-2009 09:45:02] sqlsrv: entering rshutdown

The time logged in the error log file for PHP functions uses the current time which is in DST : British Summer Time (UTC+0100 currently). The driver logs the time without the DST offset.

Work Item Details

Original CodePlex Issue: Issue 14039 Status: Proposed Reason Closed: Unassigned Assigned to: Unassigned Reported on: Sep 3, 2009 at 9:50 AM Reported by: RQuadling Updated on: Sep 3, 2009 at 9:50 AM Updated by: RQuadling

v-mabarw avatar Jul 29 '14 22:07 v-mabarw

No longer able to reproduce this. Closing the issue.

yitam avatar Jan 06 '17 21:01 yitam