Skip to content

Commit

Permalink
s/disk_log_impl: added log entry when creating log appender
Browse files Browse the repository at this point in the history
Added log entry showing a next offset used to initialize log appender.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
  • Loading branch information
mmaslankaprv committed Jul 17, 2024
1 parent 662e23c commit c791911
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/v/storage/disk_log_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,12 @@ log_appender disk_log_impl::make_appender(log_append_config cfg) {
next_offset = model::offset(0);
}
}
vlog(
stlog.trace,
"creating log appender for: {}, next offset: {}, log offsets: {}",
config().ntp(),
next_offset,
ofs);
return log_appender(
std::make_unique<disk_log_appender>(*this, cfg, now, next_offset));
}
Expand Down

0 comments on commit c791911

Please sign in to comment.