[ 
https://issues.apache.org/jira/browse/FLINK-11018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-11018:
-----------------------------------
      Labels: auto-deprioritized-major auto-deprioritized-minor  (was: 
auto-deprioritized-major stale-minor)
    Priority: Not a Priority  (was: Minor)

This issue was labeled "stale-minor" 7 days ago and has not received any 
updates so it is being deprioritized. If this ticket is actually Minor, 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: Not a Priority
>              Labels: auto-deprioritized-major, auto-deprioritized-minor
>         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.20.1#820001)

Reply via email to