You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Arpad Boda (Jira)" <ji...@apache.org> on 2020/03/04 11:22:00 UTC

[jira] [Created] (MINIFICPP-1171) Fix "%ll" format strings in log lines

Arpad Boda created MINIFICPP-1171:
-------------------------------------

             Summary: 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
             Fix For: 0.8.0


Malformed log strings don't print the value.

As an example, this line of code: 
```./extensions/civetweb/processors/ListenHTTP.cpp:287:  logger_->log_debug("ListenHTTP handling POST request of length %ll", req_info->content_length);```

Results in the following log message:
```[2020-03-03 17:00:29.710] [org::apache::nifi::minifi::processors::ListenHTTP::Handler] [debug] ListenHTTP handling POST request of length```

(Compiled with g++8.3 on Debian Buster)




--
This message was sent by Atlassian Jira
(v8.3.4#803005)