Hi everybody, I just found that in version 0.9.1 it is possibile to disable that verbose console, can you please explain how to do it both in IDE and local environment?
Especially in IDE I am able to set property of log4j for my logger, but everything I try for flink internal one does not work thanks michele |
Hi Michele,
Please supply a log4j.properties file path as a Java VM property like so: -Dlog4j.configuration=/path/to/log4j.properties Your IDE should have an option to adjust VM arguments. Cheers, Max On Wed, Sep 2, 2015 at 9:10 AM, Michele Bertoni <[hidden email]> wrote: > Hi everybody, I just found that in version 0.9.1 it is possibile to disable that verbose console, can you please explain how to do it both in IDE and local environment? > Especially in IDE I am able to set property of log4j for my logger, but everything I try for flink internal one does not work > > > thanks > michele |
thanks for answering,
yes I did it, in fact it is working for my logger, but I don’t know how to limit flink logger using the log4j property
if i use this line
as suggested by doc, i get a compilation error of the log4j property document: level should not be in that position
instead doing something like this is accepted
but is not doing anything
|
Can it be that you confuse the logback configuration file with the log4j configuration file? The
Cheers, On Wed, Sep 2, 2015 at 4:33 PM, Michele Bertoni <[hidden email]> wrote:
|
Totally, it is the first time i am using them and I thought they were the same
I will try it asap
thanks
|
Hi! I don't really want them in my console output Thanks!
|
Hi! Inside your program, you can do the following: "environment.getExecutionConfig().disableSysoutLogging()" That should suppress all these outputs. Hope that helps... Stephan On Fri, Sep 11, 2015 at 11:17 PM, Michele Bertoni <[hidden email]> wrote:
|
that’s exactly what I needed
thanks
|
Free forum by Nabble | Edit this page |