[ https://issues.apache.org/jira/browse/FLINK-9281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16466438#comment-16466438 ]
Tim commented on FLINK-9281: ---------------------------- Not really. Here's what I know a) If I run the Flink job in my IDE, logback (latest version) works fine. b) If I run in a standalone cluster, no output. Actually, it does not look like the -Dlogback.configurationFile JVM arg is even being honored I'll try doing "{{-verbose:class}}" to see if the LogBack classes are even being loaded. > LogBack not working > ------------------- > > Key: FLINK-9281 > URL: https://issues.apache.org/jira/browse/FLINK-9281 > Project: Flink > Issue Type: Bug > Components: Logging > Affects Versions: 1.4.2 > Reporter: Tim > Priority: Major > > I am trying to get Flink to work with Logback instead of Log4J. However, it > is not working. > My setup is as follows the advice on this page: > https://ci.apache.org/projects/flink/flink-docs-release-1.4/dev/best_practices.html#use-logback-when-running-flink-on-a-cluster > * Flink v1.4.2 running a stand-alone cluster. > * Started JobManager as a foreground process (bin/jobmanager.sh > start-foreground cluster). I updated bin/flink-console.sh to reference > logback.xml via -Dlogback.configurationFile=file:/path/to/logfile. > * Removed log4j jars under libs/ (log4j-1.2.xx.jar and > sfl4j-log4j12-xxx.jar) > * Added logback jars under libs/ (logback-classic, logback-core, > log4j-over-slf4j.jar) > However, I am not getting any file created. Also, as a dumb test I > referenced a non-existent logback.xml file (changed path to a non-existent > folder) just to see if any errors appear on stdout, but nothing. > Thanks > -- This message was sent by Atlassian JIRA (v7.6.3#76005)