Flink logging issue with logback

Posted by Bajaj, Abhinav on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Flink-logging-issue-with-logback-tp31928.html

Hi,

 

I am investigating a logging issue with Flink.

 

Setup

  • Using Flink-1.7.1 using logback as suggested in Flink documentation here.
  • Submitting the Flink job from the Flink dashboard.

 

Observations

  • Logs from main method(outside of job graph) do not show up in jobmanager logs.
  • Logs from the operators like map or custom operators do show up in the taskmanager logs.
  • Logs from main method do show up in jobmanager logs when using log4j in place of logback.

 

Has anyone else noticed similar behavior or is this a known issue with logback integration in Flink?

Any suggestions on potential workaround or fix?

 

Appreciate your time and help.

 

~ Abhinav Bajaj