X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FLogger%2FLogFormat.cc;h=c61eb2c083766aa9f350e36d5f389d09e0e650da;hb=9ab6056a616342015eb35d6730d61c45412eec46;hp=b4d2d494bffae25c63c7df2eac331951ea7bb809;hpb=838c26a04f4ff76694a67c7726ad4b6b626982e7;p=senf.git diff --git a/senf/Utils/Logger/LogFormat.cc b/senf/Utils/Logger/LogFormat.cc index b4d2d49..c61eb2c 100644 --- a/senf/Utils/Logger/LogFormat.cc +++ b/senf/Utils/Logger/LogFormat.cc @@ -126,10 +126,9 @@ prefix_ std::string senf::log::detail::LogFormat::prefix(time_type timestamp, if (noformat_) { if (timeBase_ == -1) timeBase_ = timestamp; time_type delta (timestamp - timeBase_); - datestream_ << std::setfill('0') << std::setw(10) - << (delta / 1000000000ll) << '.' - << std::setfill('0') << std::setw(9) - << (delta % 1000000000ll); + datestream_ << std::setfill('0') << std::right + << std::setw(10) << (delta / 1000000000ll) << '.' + << std::setw(9) << (delta % 1000000000ll); } else datestream_ << senf::ClockService::abstime(timestamp);