Log the timestamp each part file is created too
This gives us another tool for helping figure out which boot came first,
and also debug how/when log parts are written.
Change-Id: I015a5024ceaa3b95af7ff621de706ef16cff55e8
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/events/logging/log_writer.h b/aos/events/logging/log_writer.h
index a93da7d..f624028 100644
--- a/aos/events/logging/log_writer.h
+++ b/aos/events/logging/log_writer.h
@@ -149,8 +149,7 @@
// starts.
void StartLoggingLocalNamerOnRun(std::string base_name) {
event_loop_->OnRun([this, base_name]() {
- StartLogging(std::make_unique<LocalLogNamer>(
- base_name, event_loop_->configuration(), event_loop_->node()));
+ StartLogging(std::make_unique<LocalLogNamer>(base_name, event_loop_));
});
}
@@ -158,8 +157,7 @@
// processing starts.
void StartLoggingOnRun(std::string base_name) {
event_loop_->OnRun([this, base_name]() {
- StartLogging(std::make_unique<MultiNodeLogNamer>(
- base_name, event_loop_->configuration(), event_loop_->node()));
+ StartLogging(std::make_unique<MultiNodeLogNamer>(base_name, event_loop_));
});
}