Can it be that you confuse the logback configuration file with the log4j configuration file? The log4j.properties file should look like
log4j.rootLogger=INFO, console # Log all infos in the given file log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p %-60c %x - %m%n # suppress the irrelevant (wrong) warnings from the netty channel handler log4j.logger.org.jboss.netty.channel.DefaultChannelPipeline=ERROR, console Cheers, Till On Wed, Sep 2, 2015 at 4:33 PM, Michele Bertoni < michele1.bert...@mail.polimi.it> wrote: > 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 > > <logger name="org.apache.flink.runtime.jobgraph.JobGraph" level="DEBUG"/> > > > 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 > > <logger name=“org.apache.flink.runtime.jobgraph.JobGraph”> > > <level=“ERROR”/> > > </logger> > > > but is not doing anything > > > > > > Il giorno 02/set/2015, alle ore 16:09, Maximilian Michels <m...@apache.org> > ha scritto: > > 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 > <michele1.bert...@mail.polimi.it> 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 > > >