From 682dbcab9a7a81c210dc9c8aa3cfc58ccc1723aa Mon Sep 17 00:00:00 2001
From: maralorn <mail@maralorn.de>
Date: Sat, 9 Sep 2023 18:01:10 +0200
Subject: [PATCH] Print parent activity field in json log

---
 src/libutil/logging.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc
index 54702e4ea..9d7a141b3 100644
--- a/src/libutil/logging.cc
+++ b/src/libutil/logging.cc
@@ -220,8 +220,8 @@ struct JSONLogger : Logger {
         json["level"] = lvl;
         json["type"] = type;
         json["text"] = s;
+        json["parent"] = parent;
         addFields(json, fields);
-        // FIXME: handle parent
         write(json);
     }