From ffe2526257bcb1e9df29ff44dc3327164e312804 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Tue, 1 Jul 2014 15:39:26 +0200 Subject: [PATCH] Universal time format (ISO) for log timestamps --- Duplicati/Library/Logging/StreamLog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Logging/StreamLog.cs b/Duplicati/Library/Logging/StreamLog.cs index 2c623345b..312d1ccc9 100644 --- a/Duplicati/Library/Logging/StreamLog.cs +++ b/Duplicati/Library/Logging/StreamLog.cs @@ -59,7 +59,7 @@ namespace Duplicati.Library.Logging /// An exception, may be null public virtual void WriteMessage(string message, LogMessageType type, Exception exception) { - m_stream.WriteLine("{0} - {1}: {2}", DateTime.Now, type, message); + m_stream.WriteLine("{0:u} - {1}: {2}", DateTime.Now, type, message); if (exception != null) { m_stream.WriteLine(exception.ToString());