[
https://issues.apache.org/jira/browse/MINIFICPP-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17634205#comment-17634205
]
Kondakov Artem commented on MINIFICPP-1948:
-------------------------------------------
HI [~szaszm]
The number of logs is huge, and if there are processing errors in several
processors of the same class (especially if it is ExecutePython), then it is
difficult to debug it. If it were possible to mark logging lines with processor
identifiers or separate log files by processor instances, this would greatly
simplify debugging
> 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
> Priority: Major
> 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)