You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2020/03/11 13:48:00 UTC
[jira] [Commented] (MINIFICPP-1171) Fix "%ll" format strings in log
lines
[ https://issues.apache.org/jira/browse/MINIFICPP-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17057014#comment-17057014 ]
Marton Szasz commented on MINIFICPP-1171:
-----------------------------------------
I think this can be closed as the PR is merged
> Fix "%ll" format strings in log lines
> -------------------------------------
>
> Key: MINIFICPP-1171
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1171
> Project: Apache NiFi MiNiFi C++
> Issue Type: Improvement
> Affects Versions: 0.7.0
> Reporter: Arpad Boda
> Assignee: Arpad Boda
> Priority: Minor
> Fix For: 0.8.0
>
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
> Malformed log strings don't print the value.
> As an example, this line of code:
> {code}./extensions/civetweb/processors/ListenHTTP.cpp:287: logger_->log_debug("ListenHTTP handling POST request of length %ll", req_info->content_length);{code}
> Results in the following log message:
> {code}[2020-03-03 17:00:29.710] [org::apache::nifi::minifi::processors::ListenHTTP::Handler] [debug] ListenHTTP handling POST request of length{code}
> (Compiled with g++8.3 on Debian Buster)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)