Session.DebugLogPath DateTimestamp issue
Hello,
I am running into a logging issue while automating using C#.
The issue is that the datetimestamp logged by the Session.DebugLogPath at DebugLogLevel 2 does not match the actual time while the logged XML fragment does.
The XML fragment shows the correct Zulu time but the Session.DebugLogPath write the CET + daylight saving time as Zulu time.
[2019-07-02 08:30:36.776Z] [0001] Read node 1: XmlDeclaration xml=version="1.0" encoding="UTF-8"
[2019-07-02 08:30:36.776Z] [0001] Log contents:
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="http://winscp.net/schema/session/1.0" name="userId@SomeServerAddress" start="2019-07-02T06:30:36.745Z">
Components used:
C#
.NET Framework 4.5.2
Windows 2008 R2
WinSCP.dll File Version 1.6.3.9407
WinSCP.exe 5.15.1.0 File Version 5.15.1.9407
Please see attached file.
Regards,
Arjan Douwes
I am running into a logging issue while automating using C#.
The issue is that the datetimestamp logged by the Session.DebugLogPath at DebugLogLevel 2 does not match the actual time while the logged XML fragment does.
The XML fragment shows the correct Zulu time but the Session.DebugLogPath write the CET + daylight saving time as Zulu time.
[2019-07-02 08:30:36.776Z] [0001] Read node 1: XmlDeclaration xml=version="1.0" encoding="UTF-8"
[2019-07-02 08:30:36.776Z] [0001] Log contents:
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="http://winscp.net/schema/session/1.0" name="userId@SomeServerAddress" start="2019-07-02T06:30:36.745Z">
Components used:
C#
.NET Framework 4.5.2
Windows 2008 R2
WinSCP.dll File Version 1.6.3.9407
WinSCP.exe 5.15.1.0 File Version 5.15.1.9407
Please see attached file.
Regards,
Arjan Douwes