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

Flink Jira Bot commented on FLINK-11018:
----------------------------------------

This issue was labeled "stale-major" 7 ago and has not received any updates so 
it is being deprioritized. If this ticket is actually Major, please raise the 
priority and ask a committer to assign you the issue or revive the public 
discussion.


> Flink ignores logback.xml 
> --------------------------
>
>                 Key: FLINK-11018
>                 URL: https://issues.apache.org/jira/browse/FLINK-11018
>             Project: Flink
>          Issue Type: Bug
>          Components: Command Line Client
>    Affects Versions: 1.6.2
>            Reporter: prathamesh
>            Priority: Major
>              Labels: stale-major
>         Attachments: logback.xml
>
>
> I am running flink locally on Windows as per instructions specified in theĀ 
> [link documentation 
> |https://ci.apache.org/projects/flink/flink-docs-stable/start/flink_on_windows.html]
> flink version: 1.6.1
> The job i am running is the Sample Job 
> ([https://ci.apache.org/projects/flink/flink-docs-release-1.6/quickstart/setup_quickstart.html#read-the-code]).
> I am also configuring a logstash appender (logstash-logback-encoder) in order 
> to send the logs to a logstash instance running locally along with console 
> and file appenders.
> When i run this flink job from my IDE, the logs are sent successfully to my 
> logstash instance. However when i submit the same job to my flink cluster, i 
> don't see any logs on logstash. Neither do i see any error indicating any 
> failure to create the logstash appender.
> I am pretty sure the logstash appender works fine since it works when i run 
> the job from IDE. As per the [link Best 
> Practices|https://ci.apache.org/projects/flink/flink-docs-stable/dev/best_practices.html],
>  Flink uses log4j by default and needs to be configured to use logback. Does 
> this apply to flink logs as in Taskmanager and jobmanager logs or to 
> application logs? 
> Is flink ignoring the logback.xml file that gets packaged in my jar? How to 
> get flink to use the logback configuration that is included in the jar?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to