diff --git a/lib/base/streamlogger.cpp b/lib/base/streamlogger.cpp index bd292878b..dcce08758 100644 --- a/lib/base/streamlogger.cpp +++ b/lib/base/streamlogger.cpp @@ -58,7 +58,7 @@ void StreamLogger::ProcessLogEntry(std::ostream& stream, const LogEntry& entry) time_t ts = entry.Timestamp; tm tmnow = *localtime(&ts); - strftime(timestamp, sizeof(timestamp), "%a, %d %b %Y %T %z", &tmnow); + strftime(timestamp, sizeof(timestamp), "%Y/%m/%d %H:%M:%S %z", &tmnow); stream << "[" << timestamp << "] " << Logger::SeverityToString(entry.Severity) << "/" << entry.Facility << ": "