flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yun Tang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-12380) Add thread name in the log4j.properties
Date Sat, 11 May 2019 05:59:00 GMT

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

Yun Tang commented on FLINK-12380:
----------------------------------

[~azagrebin] If so why current [logbak.xml|https://github.com/apache/flink/blob/a7cf24383be9f310fb5ccc5a032721421fa45791/flink-dist/src/main/flink-bin/conf/logback.xml#L24]
would already contain the thread name? 

I just replied Stephan in the closed PR with above confusion.



> Add thread name in the log4j.properties
> ---------------------------------------
>
>                 Key: FLINK-12380
>                 URL: https://issues.apache.org/jira/browse/FLINK-12380
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Yun Tang
>            Assignee: Yun Tang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> This is inspired by FLINK-12368 when users want to add sub-task index information in
the source code. We could add thread name, which already contains sub-task index information,
in the logs to avoid have to change the source code.
> Moreover, I found existing {{logback.xml}} in Flink already contains {{thread name}}
information. We should also add this in the {{log4j.properties.}}



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

Mime
View raw message