nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apiri <>
Subject [GitHub] nifi pull request: NIFI-985: Custom log prefix for LogAttribute pr...
Date Thu, 24 Sep 2015 14:21:53 GMT
Github user apiri commented on a diff in the pull request:
    --- Diff: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/
    @@ -123,12 +133,26 @@ protected void init(final ProcessorInitializationContext context)
         protected String processFlowFile(final ProcessorLog logger, final DebugLevels logLevel,
final FlowFile flowFile, final ProcessSession session, final ProcessContext context) {
             final Set<String> attributeKeys = getAttributesToLog(flowFile.getAttributes().keySet(),
             final ProcessorLog LOG = getLogger();
    +        final String dashedLine;
    +        String logPrefix = context.getProperty(LOG_PREFIX).evaluateAttributeExpressions().getValue();
    --- End diff --
    Indeed! :)  Thanks for fixing that up. Everything looks good to go from this side and
I shall merge it in shortly.  Thanks again for your contribution and efforts!

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message