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

ASF GitHub Bot commented on NIFI-5309:
--------------------------------------

GitHub user ammitt90 opened a pull request:

    https://github.com/apache/nifi/pull/2793

     NIFI-5309 update the logger message to get the output format from 
outputFormat Variable

    Updated the info message of logger printing the output format of flow files 
records.
    
    This change will print the output format in the logs of selectHiveQl 
processor based on the outputFormat variable value

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ammitt90/nifi NIFI-5309

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/2793.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2793
    
----
commit f1ae2761d3221016665768d6f59f58d9212910dd
Author: amitt90 <amitt90@...>
Date:   2018-06-14T06:16:46Z

     NIFI-5309 update the logger message to get the output format from the 
outputFormat variable

----


> Specify Correct Output Format in logger when transferring records to success 
> in SelectHiveQl Processor
> ------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-5309
>                 URL: https://issues.apache.org/jira/browse/NIFI-5309
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Aman Mittal
>            Priority: Trivial
>              Labels: easyfix
>             Fix For: 1.7.0
>
>
> Get the output Format printed in the app.log from outputFormat variable 
> instead of hardcoding "Avro" . 
>  
> Current logger.info prints :
> logger.info("{} contains {} Avro records; transferring to 'success'", new 
> Object[]\{flowfile, nrOfRows.get()});
>  
> Instead It should take the outputFormat based on the option selected from the 
> processor like CSV/AVRO.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to