Improve log messages.

GitOrigin-RevId: a431f8c5bfca3edea1293d0192ac78c9aec38de2
This commit is contained in:
levlam 2020-07-15 14:28:53 +03:00
parent 060c01ace3
commit 1b2d42a7b6

View File

@ -21,13 +21,13 @@ class BinlogActor : public Actor {
void close(Promise<> promise) { void close(Promise<> promise) {
binlog_->close().ensure(); binlog_->close().ensure();
promise.set_value(Unit()); promise.set_value(Unit());
LOG(INFO) << "Finished closing binlog"; LOG(INFO) << "Finished to close binlog";
stop(); stop();
} }
void close_and_destroy(Promise<> promise) { void close_and_destroy(Promise<> promise) {
binlog_->close_and_destroy().ensure(); binlog_->close_and_destroy().ensure();
promise.set_value(Unit()); promise.set_value(Unit());
LOG(INFO) << "Finished closing and destroying binlog"; LOG(INFO) << "Finished to destroy binlog";
stop(); stop();
} }