[
https://issues.apache.org/jira/browse/FLINK-9281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461564#comment-16461564
]
Tim commented on FLINK-9281:
----------------------------
Update: Looks like this works with logback v1.1.3, but does not work with
version 1.3.0-alpha4.
Here's what I have in my $FLINK_DIR/lib folder:
# logback-classic-1.1.3.jar
# logback-core-1.1.3.jar
# log4j-over-slf4j-1.7.7.jar
> 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)