[ 
https://issues.apache.org/jira/browse/MINIFICPP-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17611574#comment-17611574
 ] 

Marton Szasz commented on MINIFICPP-1948:
-----------------------------------------

Spdlog is not aware of minifi component IDs, so this would require changing all 
component loggers. If you have more specific suggestions where it would be most 
valuable, it would be easier to add UUID to a few log messages where it would 
be most valuable.

> 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)

Reply via email to