You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Aldrin Piri (Jira)" <ji...@apache.org> on 2020/03/18 14:08:00 UTC
[jira] [Resolved] (MINIFICPP-1171) Fix "%ll" format strings in log
lines
[ https://issues.apache.org/jira/browse/MINIFICPP-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aldrin Piri resolved MINIFICPP-1171.
------------------------------------
Resolution: Fixed
> 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)