diff options
author | maralorn <mail@maralorn.de> | 2023-09-09 18:01:10 +0200 |
---|---|---|
committer | maralorn <mail@maralorn.de> | 2023-09-09 18:01:10 +0200 |
commit | 682dbcab9a7a81c210dc9c8aa3cfc58ccc1723aa (patch) | |
tree | 7cd537e1274cafbeb94db2a00a87db3448e30a77 /src/libutil/logging.cc | |
parent | 2cdc9c32e746a620458a1dd87655d2a6c3800f64 (diff) |
Print parent activity field in json log
Diffstat (limited to 'src/libutil/logging.cc')
-rw-r--r-- | src/libutil/logging.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |