diff --git a/tddb/td/db/binlog/Binlog.cpp b/tddb/td/db/binlog/Binlog.cpp index c485c796..846b29d2 100644 --- a/tddb/td/db/binlog/Binlog.cpp +++ b/tddb/td/db/binlog/Binlog.cpp @@ -383,8 +383,8 @@ void Binlog::do_event(BinlogEvent &&event) { fd_.seek(fd_size_).ensure(); fd_.truncate_to_current_position(fd_size_).ensure(); } - LOG(FATAL) << "Truncate binlog \"" << path_ << "\" in state " << static_cast(state_) << " from size " - << old_size << " to size " << fd_size_ << " due to error: " << status; + LOG(FATAL) << "Truncate binlog \"" << path_ << "\" from size " << old_size << " to size " << fd_size_ + << " in state " << static_cast(state_) << " due to error: " << status; } }