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/logger_main.cc b/aos/events/logging/logger_main.cc
index dd1d8a2..083fdb0 100644
--- a/aos/events/logging/logger_main.cc
+++ b/aos/events/logging/logger_main.cc
@@ -31,8 +31,7 @@
std::unique_ptr<aos::logger::LogNamer> log_namer;
log_namer = std::make_unique<aos::logger::MultiNodeLogNamer>(
- absl::StrCat(aos::logging::GetLogName("fbs_log"), "/"),
- event_loop.configuration(), event_loop.node());
+ absl::StrCat(aos::logging::GetLogName("fbs_log"), "/"), &event_loop);
aos::logger::Logger logger(&event_loop);
event_loop.OnRun([&log_namer, &logger]() {