[
https://issues.apache.org/jira/browse/FLINK-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977469#comment-15977469
]
Chesnay Schepler commented on FLINK-4831:
-----------------------------------------
I worked based on slf4j i believe using this dependency:
{code}
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.21</version>
<scope>provided</scope>
</dependency>
{code}
I just picked the dependency that is defined in flink-metrics. Not sure why i
explicitly set the version though; i wrote it in a hurry. I also tend to mix up
slf4j and log4j :/
> Implement a log4j metric reporter
> ---------------------------------
>
> Key: FLINK-4831
> URL: https://issues.apache.org/jira/browse/FLINK-4831
> Project: Flink
> Issue Type: Improvement
> Components: Metrics
> Affects Versions: 1.1.2
> Reporter: Chesnay Schepler
> Priority: Minor
> Labels: easyfix, starter
>
> For debugging purpose it would be very useful to have a log4j metric
> reporter. If you don't want to setup a metric backend you currently have to
> rely on JMX, which a) works a bit differently than other reporters (for
> example it doesn't extend AbstractReporter) and b) makes it a bit tricky to
> analyze results as metrics are cleaned up once a job finishes.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)