Error logback after upgrading from Flink 1.19 to 1.20

2024-08-26 Thread eliana clementi
Hello, we use logback instead of log4j and get this error after upgrading Flink to 1.20. It seems that 1.20 does not support logback 1.2.13. We cannot upgrade because, as documentation states, "Logback 1.3+ requires SLF4J 2, which is currently not supported". We see that the 1.20 impleme

Missing logback-console.xml when submitting job via operator

2022-09-29 Thread Javier Vegas
My Flink app uses logback for logging, when submitting it from the operator I get this error: ERROR in ch.qos.logback.classic.joran.JoranConfigurator@7364985f - Could not open URL [file:/opt/flink/conf/logback-console.xml]. java.io.FileNotFoundException: /opt/flink/conf/logback-console.xml (No

Re: Unable to update logback configuration in Flink Native Kubernetes

2022-01-09 Thread Yang Wang
Sorry for the late reply. Flink clients will ship the log4j-console.properties and logback-console.xml via K8s ConfigMap and then mount to JobManager/TaskManager pod. So if you want to update the log settings or using logback, all you need is to update the client-local files. Best, Yang

Re: Unable to update logback configuration in Flink Native Kubernetes

2021-12-30 Thread Raghavendar T S
Hi Sharon Thanks a lot. I just updated the files (flink-conf.yaml and logback-console.xml) in the local conf folder and it worked as expected. Thanks & Regards Raghavendar T S MERAS Plugins <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-em

Re: Unable to update logback configuration in Flink Native Kubernetes

2021-12-29 Thread Sharon Xie
nal.java>) which allows me to specify a local folder which contains the logback config using file `logback-console.xml`. The content of the file is then used to create the config map. Hope it helps. Sharon On Wed, Dec 29, 2021 at 7:04 AM Raghavendar T S wrote: > Hi > > I have cr

Unable to update logback configuration in Flink Native Kubernetes

2021-12-29 Thread Raghavendar T S
Hi I have created a Flink Native Kubernetes (1.14.2) cluster which is successful. I am trying to update the logback configuration for which I am using the configmap exposed by Flink Native Kubernetes. Flink Native Kubernetes is creating this configmap during the start of the cluster and deleting

Re: logback variable substitution in kubernetes

2021-09-01 Thread houssem
syntax (as mentioned > in the doc > http://logback.qos.ch/manual/configuration.html#variableSubstitution). > Chapter 3: Logback configuration - > QOS.ch<http://logback.qos.ch/manual/configuration.html#variableSubstitution> > Thus, the level of the root logger has no

Re: logback variable substitution in kubernetes

2021-09-01 Thread Alexis Sarda-Espinosa
I'm fairly certain you need the curly braces surrounding the variable, the substitution is not done by the shell, it's just similar syntax (as mentioned in the doc http://logback.qos.ch/manual/configuration.html#variableSubstitution). Chapter 3: Logback configuration - Q

Re: logback variable substitution in kubernetes

2021-09-01 Thread houssem
; Refer to the documentation[1] for how to use logback. > > [1]. > https://ci.apache.org/projects/flink/flink-docs-master/docs/deployment/advanced/logging/#configuring-logback > > Best, > Yang > > houssem 于2021年9月1日周三 下午5:00写道: > > > Yes i did this verification and i

Re: logback variable substitution in kubernetes

2021-09-01 Thread Yang Wang
Did you have removed the log4j related jars in the $FLINK_HOME/lib directory? Refer to the documentation[1] for how to use logback. [1]. https://ci.apache.org/projects/flink/flink-docs-master/docs/deployment/advanced/logging/#configuring-logback Best, Yang houssem 于2021年9月1日周三 下午5:00写道: >

Re: logback variable substitution in kubernetes

2021-09-01 Thread houssem
Yes i did this verification and i have all environment variables. On 2021/09/01 06:09:27, Yang Wang wrote: > From the logback documentation[1], it could support OS > environment substitution. > Could you please check that the environment variables have been properly > set? >

Re: logback variable substitution in kubernetes

2021-08-31 Thread Yang Wang
>From the logback documentation[1], it could support OS environment substitution. Could you please check that the environment variables have been properly set? Maybe you could tunnel into the Kubernetes pod via "kubectl exec" and do such verification. Best, Yang houssem 于2021年8月3

logback variable substitution in kubernetes

2021-08-31 Thread houssem
Hello, I am running a flink application cluster in standalone kubernetes mode and i a using logback as a logging framework , th problem is i am not able tu use environment variables configured in my pod inside my logback-console.xml file . I copied this file from my file system while

Re: Flink logging issue with logback

2020-01-09 Thread Maximilian Michels
nk dashboard and >> checked the jobmanager logs >> >> _Run 1_: Flink is using the default log4j logging >> >> * Jobmanager logs the added info log from the job >> o 2020-01-06 11:55:37,422 INFO wikiedits.Wikipe

Re: Flink logging issue with logback

2020-01-08 Thread Bajaj, Abhinav
; & taskmanager logs >> >> * I submit the WikipediaAnalysis job from Flink dashboard and >> checked the jobmanager logs >> >> _Run 1_: Flink is using the default log4j logging >> >> * Jobman

Re: Flink logging issue with logback

2020-01-08 Thread Maximilian Michels
* Jobmanager logs the added info log from the job o 2020-01-06 11:55:37,422 INFO wikiedits.WikipediaAnalysis - Info log for test _Run 2_: Flink is setup to use logback as suggested in Flink documentation here <https://ci.apache.org/projects/flink/flink-docs-sta

Re: Flink logging issue with logback

2020-01-07 Thread Dawid Wysakowicz
ger logs > >   > > _Run 1_: Flink is using the default log4j logging > > * Jobmanager logs the added info log from the job > o 2020-01-06 11:55:37,422 INFO  > wikiedits.WikipediaAnalysis   > - Info log

Re: Flink logging issue with logback

2020-01-07 Thread Dawid Wysakowicz
f the "main" method execution. This is the expected behavior. That's why the logback does not log anything. Log4j implementation is slightly different as by default it does not follow changes to the System#setOut. It buffers the original System.out. It has an option though to also f

Re: Flink logging issue with logback

2020-01-06 Thread Yang Wang
dded info log from the job > - 2020-01-06 11:55:37,422 INFO > wikiedits.WikipediaAnalysis - Info log > for test > > > > *Run 2*: Flink is setup to use logback as suggested in Flink > documentation here > <https://ci.

Re: Flink logging issue with logback

2020-01-06 Thread Bajaj, Abhinav
er logs Run 1: Flink is using the default log4j logging * Jobmanager logs the added info log from the job * 2020-01-06 11:55:37,422 INFO wikiedits.WikipediaAnalysis - Info log for test Run 2: Flink is setup to use logback as suggested in Flink docum

Re: Flink logging issue with logback

2020-01-06 Thread Dawid Wysakowicz
Hi Bajaj, I am not entirely sure what is the actual issue you are seeking help, but let me comment on your observations. Ad. 1 If you log to the console from the main method this is an expected behavior in both cases (log4j, logback). The std out is being overwritten for the execution of the

Re: Flink logging issue with logback

2020-01-05 Thread vino yang
bhinav 于2020年1月4日周六 上午7:23写道: > >> Hi, >> >> >> >> I am investigating a logging issue with Flink. >> >> >> >> *Setup* >> >>- Using Flink-1.7.1 using logback as suggested in Flink documentation >>here &g

Re: Flink logging issue with logback

2020-01-05 Thread Yang Wang
写道: > Hi, > > > > I am investigating a logging issue with Flink. > > > > *Setup* > >- Using Flink-1.7.1 using logback as suggested in Flink documentation >here > > <https://ci.apache.org/projects/flink/flink-docs-stable/dev/best_practices.htm

Flink logging issue with logback

2020-01-03 Thread Bajaj, Abhinav
Hi, I am investigating a logging issue with Flink. Setup * Using Flink-1.7.1 using logback as suggested in Flink documentation here<https://ci.apache.org/projects/flink/flink-docs-stable/dev/best_practices.html#use-logback-when-running-flink-on-a-cluster>. * Submitting the Fli

Re: Logback on AWS EMR

2019-09-05 Thread Stephen Connolly
ace of logback). Then when you launch your flink jobs they will be clones with the correct files and happy as larry! Haven't figured out how to handle for ephemeral EMR clusters... but we aren't using them so :shrug: On Wed, 4 Sep 2019 at 22:17, Stephen Connolly < stephen.alan.co

Logback on AWS EMR

2019-09-04 Thread Stephen Connolly
Has anyone configured AWS EMR’s flavour of Flink to use Logback (more specifically with the logstash encoder, which would require additional jars on the classpath) Or is there an alternative way people are using to send the logs to a service like Datadog Thanks in advance Stephen -- Sent from

Re: Use logback instead of log4j

2019-08-25 Thread Vishwas Siravara
Any idea on how I can use log back instead ? On Fri, Aug 23, 2019 at 1:22 PM Vishwas Siravara wrote: > Hi , > From the flink doc , in order to use logback instead of log4j " Users > willing to use logback instead of log4j can just exclude log4j (or delete > it from the lib/

Use logback instead of log4j

2019-08-23 Thread Vishwas Siravara
Hi , >From the flink doc , in order to use logback instead of log4j " Users willing to use logback instead of log4j can just exclude log4j (or delete it from the lib/ folder)." https://ci.apache.org/projects/flink/flink-docs-stable/monitoring/logging.html . However when i delete it

Flink logback

2019-08-21 Thread Vishwas Siravara
Hi all, I modified the logback.xml provided by flink distribution, so now the logback.xml file looks like this : *${log.file} false %d{-MM-dd HH:mm:ss.SSS} [%thread]

Re: Configuring logback

2019-08-20 Thread RAMALINGESWARA RAO THOTTEMPUDI
Hi How to build a Graph using Flink Gelly from a text file that consists of edge list. regards TR RAO From: "Vishwas Siravara" To: "user" Sent: Tuesday, August 20, 2019 9:17:01 PM Subject: Configuring logback Hi guys, I am using logback for my application logs

Configuring logback

2019-08-20 Thread Vishwas Siravara
Hi guys, I am using logback for my application logs. I have logback.xml as a part of my fat jar that I submit to flink via command line flink run "...". When I run my application from IDE , the appenders are what I have set in my logback but when I run from command line the appender d

Re: Configuring logback for my flink job

2019-08-20 Thread Vishwas Siravara
My logback is a part of my application jar file, do you mean I should externalize it and pass set its location in FLINK_CONF_DIR ? like export FLINK_CONF_DIR=/home/was/ where I have logback.xml in /home/was/ ? Thanks, Vishwas On Mon, Aug 19, 2019 at 10:31 PM Yang Wang wrote: > Hi Vish

Re: Configuring logback for my flink job

2019-08-19 Thread Yang Wang
Hi Vishwas, If you mean to have your application logs to its configured appenders in client, i think you could use your own FLINK_CONF_DIR environment. Otherwise, we could not update the log4j/logback configuration.[1] [1] https://github.com/apache/flink/blob/master/flink-dist/src/main/flink

Configuring logback for my flink job

2019-08-19 Thread Vishwas Siravara
Hi, I have a logback for my flink application which is packaged with the application fat jar. However when I submit my job from flink command line tool, I see that logback is set to -Dlogback.configurationFile=file:/data/flink-1.7.2/conf/logback.xml from the client log. As a result my application

How can I configure logback for TaskManager in LocalStreamEnvironment

2018-11-08 Thread wpb
I'm using Flink LocalStreamEnvironment when developing job. When I use the logback for logging, and I found that logback.xml only work for Jobmanager but not work for TaskManager. How can I configure the log layout and level for TaskManager in LocalStreamEnvironment. Thanks! PB

Logback doesn't receive logs from job

2018-06-26 Thread Guilherme Nobre
Hi all, I have a Flink cluster (1.4.0) built from flink's docker image, with 1 job manager and 2 task managers. I'm trying to use logback isntead of log4j and as far as the cluster configurations goes, seems alright. Following https://ci.apache.org/projects/flink/flink-docs-relea

Re: Facing issues with Logback

2017-11-06 Thread Fabian Hueske
ache.org/jira/browse/FLINK-7990 2017-10-31 8:37 GMT+01:00 Teena K : > I have a single node Flink instance which has the required jars for > logback in the lib folder (logback-classic.jar, logback-core.jar, > log4j-over-slf4j.jar). I have removed the jars for log4j from the lib > folder

Facing issues with Logback

2017-10-31 Thread Teena K
I have a single node Flink instance which has the required jars for logback in the lib folder (logback-classic.jar, logback-core.jar, log4j-over-slf4j.jar). I have removed the jars for log4j from the lib folder (log4j-1.2.17.jar, slf4j-log4j12-1.7.7.jar). 'logback.xml' is also correctly

Re: Logback user class

2017-08-09 Thread Aljoscha Krettek
ira/browse/FLINK-7398> Best, Aljoscha > On 26. Jul 2017, at 15:54, Nuno Rafael Goncalves > wrote: > > Even though I have executed the same code with intelliJ and works fine? <> > The only difference is that intelliJ is using log4j and the other application > is

RE: Logback user class

2017-07-26 Thread Nuno Rafael Goncalves
Even though I have executed the same code with intelliJ and works fine? The only difference is that intelliJ is using log4j and the other application is using logback. Moreover, the snippet is quite simple, it does not reference any user class other than flink's Does flink uses user loade

Re: Logback user class

2017-07-26 Thread nragon
I've changed that line and compiled it into lib/. Error remains. I'm running a local custer with start-local.sh -- View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Logback-user-class-tp14464p14469.html Sent from the Apache Flink Us

Re: Logback user class

2017-07-26 Thread Ted Yu
t; at > org.apache.flink.streaming.runtime.tasks.StreamTask. > invoke(StreamTask.java:230) > at org.apache.flink.runtime.taskmanager.Task.run(Task.java:702) > at java.lang.Thread.run(Thread.java:745) > > On the client side we are using logback but accordin

Logback user class

2017-07-26 Thread nragon
time.tasks.OperatorChain.(OperatorChain.java:95) at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:230) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:702) at java.lang.Thread.run(Thread.java:745) On the client side we are using logback but acc

Re: logback

2017-02-08 Thread Dmitry Golubets
Update: I've now used 1.1.3 versions as in the example in the docs and it works! Looks like these is an incompatibility with the latest logback. Best regards, Dmitry On Wed, Feb 8, 2017 at 3:20 PM, Dmitry Golubets wrote: > Hi Robert, > > After reading that link I've adde

Re: logback

2017-02-08 Thread Dmitry Golubets
ink/flink-docs-release-1.2/monitoring/best_ > practices.html#use-logback-when-running-flink-on-a-cluster > > On Tue, Feb 7, 2017 at 1:07 PM, Dmitry Golubets > wrote: > >> Hi, >> >> documentation says: "Users willing to use logback instead of log4j can >

Re: logback

2017-02-07 Thread Robert Metzger
Hi Dmitry, Did you also check out this documentation page? https://ci.apache.org/projects/flink/flink-docs-release-1.2/monitoring/best_practices.html#use-logback-when-running-flink-on-a-cluster On Tue, Feb 7, 2017 at 1:07 PM, Dmitry Golubets wrote: > Hi, > > documentation says: "

logback

2017-02-07 Thread Dmitry Golubets
Hi, documentation says: "Users willing to use logback instead of log4j can just exclude log4j (or delete it from the lib/ folder)." But then Flink just doesn't start. I added logback-classic 1.10 to it's lib folder, but still get NoClassDefFoundError: ch/qos/logback/core/jora

Re: Caused by: java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext

2016-06-20 Thread Jamie Grier
I suggest trying as suggested here: http://stackoverflow.com/questions/23984009/disable-logback-in-springboot -Jamie On Mon, Jun 20, 2016 at 1:54 AM, Debaditya Roy wrote: > Hello users, > > I am getting a error while running my flink jar from command line or web > frontend, the er

Caused by: java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext

2016-06-20 Thread Debaditya Roy
by: java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Log4jLoggerFactory loaded from file:/home/royd1990/Downloads/flink-1.0.3/lib/slf4j-log4j12-1.7.7.jar). If

Re: logback.xml and logback-yarn.xml rollingpolicy configuration

2016-04-21 Thread Balaji Rajagopalan
Thanks Till setting in log4j.properties worked. On Tue, Apr 19, 2016 at 8:04 PM, Till Rohrmann wrote: > Have you made sure that Flink is using logback [1]? > > [1] > https://ci.apache.org/projects/flink/flink-docs-master/apis/best_practices.html#using-logback-instead-of-log4j > &

Re: logback.xml and logback-yarn.xml rollingpolicy configuration

2016-04-19 Thread Till Rohrmann
Have you made sure that Flink is using logback [1]? [1] https://ci.apache.org/projects/flink/flink-docs-master/apis/best_practices.html#using-logback-instead-of-log4j Cheers, Till On Tue, Apr 19, 2016 at 2:01 PM, Balaji Rajagopalan < balaji.rajagopa...@olacabs.com> wrote: > The are

logback.xml and logback-yarn.xml rollingpolicy configuration

2016-04-19 Thread Balaji Rajagopalan
The are two files in the /usr/share/flink/conf directory, and I was trying to do the rolling of application logs which goes to following directory in task nodes. /var/log/hadoop-yarn/containers/application_*/container_*/taskmanager.log out err Changing the logback.xml and logback-yarn.xml has