Wrong time for logs

My log time stamps are 2 hours before the system time.
I have checked in the code what happens and in the class OutputDevice there is the FormatLogLine function that makes use of FDateTime::UtcNow().
I have noticed that while FDateTime::UtcNow() gives me the system time - 2 hours, the FDateTime::Now() gives me the correct time.
I write from Berlin’s time zone.

It’s not a big problem but I want to fix this anyway, should I change the function to be called to UtcNow()?

Use command-line arg -LOCALLOGTIMES

1 Like