Changed timestamp format (again).

Fixes #3153
This commit is contained in:
Gunnar Beutner 2012-09-25 09:01:24 +02:00
parent e83592582a
commit 345ebe8061
1 changed files with 1 additions and 1 deletions

View File

@ -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 << ": "