You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Vinoth Chandar (Jira)" <ji...@apache.org> on 2019/09/03 02:17:00 UTC

[jira] [Commented] (HUDI-233) Redo log statements using {} variable substitution

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

Vinoth Chandar commented on HUDI-233:
-------------------------------------

Just got the PR up for new bundling. BTW sure log4j does not support this? 

> Redo log statements using {} variable substitution
> --------------------------------------------------
>
>                 Key: HUDI-233
>                 URL: https://issues.apache.org/jira/browse/HUDI-233
>             Project: Apache Hudi (incubating)
>          Issue Type: Bug
>          Components: newbie, Performance
>    Affects Versions: 0.5.0
>            Reporter: Vinoth Chandar
>            Assignee: leesf
>            Priority: Major
>
> Currently we are not employing variable substitution aggresively in the project.  ala 
> {code:java}
> LogManager.getLogger(SomeName.class.getName()).info("Message: {}, Detail: {}", message, detail);
> {code}
> This can improve performance since the string concatenation is deferrable to when the logging is actually in effect.  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)