You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Ethan Li (JIRA)" <ji...@apache.org> on 2018/08/07 18:11:00 UTC

[jira] [Created] (STORM-3185) patternMetrics undefined in log4j2/cluster.xml

Ethan Li created STORM-3185:
-------------------------------

             Summary:  patternMetrics undefined in log4j2/cluster.xml
                 Key: STORM-3185
                 URL: https://issues.apache.org/jira/browse/STORM-3185
             Project: Apache Storm
          Issue Type: Bug
            Reporter: Ethan Li


https://github.com/apache/storm/blob/master/log4j2/cluster.xml#L61


{code:java}
    <RollingFile name="METRICS"
                 fileName="${sys:storm.log.dir}/${sys:logfile.name}.metrics"
                 filePattern="${sys:storm.log.dir}/${sys:logfile.name}.metrics.%i.gz">
        <PatternLayout>
            <pattern>${patternMetrics}</pattern>
        </PatternLayout>
        <Policies>
            <SizeBasedTriggeringPolicy size="2 MB"/>
        </Policies>
        <DefaultRolloverStrategy max="9"/>
    </RollingFile>
{code}

patternMetrics is undefined. 



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