You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kondakov Artem (Jira)" <ji...@apache.org> on 2022/09/30 09:11:00 UTC

[jira] [Created] (MINIFICPP-1948) Possibility to display in the logs the uid of the component to which the logging relates

Kondakov Artem created MINIFICPP-1948:
-----------------------------------------

             Summary: Possibility to display in the logs the uid of the component to which the logging relates
                 Key: MINIFICPP-1948
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1948
             Project: Apache NiFi MiNiFi C++
          Issue Type: Wish
    Affects Versions: 0.12.0
            Reporter: Kondakov Artem
             Fix For: 0.13.0


Is it possible, when logging to spdlog, to add the output of the identifier of the component by which logging occurs, for example like this
spdlog.pattern=[%Y-%m-%d %H:%M:%S.%e] [%n] [%l] [%uid] %v

where [%uid] is the output [45b07291-7c57-46f0-ab48-6d4c88386f7f] of the Processor ID or Controller Services ID or Connection ID or Flow Controller ID



--
This message was sent by Atlassian Jira
(v8.20.10#820010)