From 5ba9b3d8cd5e0fc2b2c094bb72242aca2d4394b0 Mon Sep 17 00:00:00 2001
From: Felix Weiglhofer <weiglhofer@fias.uni-frankfurt.de>
Date: Tue, 10 Oct 2023 14:04:07 +0000
Subject: [PATCH] algo: Add debug logs.

---
 algo/global/Reco.cxx      | 2 ++
 reco/app/cbmreco/main.cxx | 1 +
 2 files changed, 3 insertions(+)

diff --git a/algo/global/Reco.cxx b/algo/global/Reco.cxx
index 3bd91a3b0c..59415a31c1 100644
--- a/algo/global/Reco.cxx
+++ b/algo/global/Reco.cxx
@@ -79,6 +79,8 @@ void Reco::Init(const Options& opts)
 
   fInitialized = true;
 
+  L_(debug) << "CBM Reco finished initialization";
+
   xpu::push_timer("Reco");
 }
 
diff --git a/reco/app/cbmreco/main.cxx b/reco/app/cbmreco/main.cxx
index b878bf1e25..883679877f 100644
--- a/reco/app/cbmreco/main.cxx
+++ b/reco/app/cbmreco/main.cxx
@@ -117,6 +117,7 @@ int main(int argc, char** argv)
   int tsIdx  = 0;
   int num_ts = opts.NumTimeslices();
   if (num_ts > 0) num_ts += opts.SkipTimeslices();
+  L_(debug) << "Starting to fetch timeslices from source...";
   while (auto ts = source.get()) {
     if (tsIdx < opts.SkipTimeslices()) {
       tsIdx++;
-- 
GitLab