If you run it from the IDE, the logging depends on whether you have a
"log4j.properties" file in your classpath.

The simplest way to do this is to copy on of the existing ones temporarily
into the projects "src/main/resources" folder. I usually use the one in
"flink-runtime/src/test/resources/log4j-test.properties" (rename it to
"log4j.properties") and set the first line from "OFF" to "INFO, console".

BTW: It is actually a nice idea to have always a console-logging
log4j.properties in the resource folder, so log output always happens.
During the packaging of the project's jar file (via the maven-shade-plugin)
the file would need to be excluded.

Greetings,
Stephan




On Fri, Mar 6, 2015 at 4:35 PM, Dulaj Viduranga <vidura...@icloud.com>
wrote:

> Hi,
> Is there a way to turn off JobManager and TaskManager messages in the
> output? (Only example outputs).
> Maybe a flag?
>
> > On Mar 6, 2015, at 4:45 PM, Till Rohrmann <trohrm...@apache.org> wrote:
> >
> > Yes, this means that a task has finished its computation and can be
> removed
> > from the TaskManager.
> >
> > On Fri, Mar 6, 2015 at 11:44 AM, Dulaj Viduranga <vidura...@icloud.com>
> > wrote:
> >
> >> Thank you all. IntelliJ shows "Unregister task with execution ID
> >> (something)” couple of times in the output. But I guess it’s normal?
> >>
> >>> On Mar 6, 2015, at 4:08 PM, Stephan Ewen <se...@apache.org> wrote:
> >>>
> >>> Hey Dulaj!
> >>>
> >>> Examples should run in a straight forward way from the IDE.
> >>>
> >>> The readme (displayed at the bottom of the page) has a bit of info on
> IDE
> >>> setup https://github.com/apache/flink
> >>>
> >>> One thing you may have to do (if you compile the Scala project) is to
> >>> configure the macroparadise compiler plugin. There are no guides on the
> >>> page (yet), but you basically have to do the same as in the Eclipse
> >> setup.
> >>>
> >>> Greetings,
> >>> Stephan
> >>>
> >>>
> >>> On Fri, Mar 6, 2015 at 9:11 AM, Robert Metzger <rmetz...@apache.org>
> >> wrote:
> >>>
> >>>> Hey,
> >>>>
> >>>> This little screencast shows how to run WordCount in IntelliJ.
> >>>> Note that it will take a bit more time the first time because IntelliJ
> >> will
> >>>> compile all required classes:
> >>>> https://www.youtube.com/watch?v=JIV_rX-OIQM&feature=youtu.be
> >>>> Let us know if you need more help.
> >>>>
> >>>> Robert
> >>>>
> >>>> On Fri, Mar 6, 2015 at 5:58 AM, Dulaj Viduranga <vidura...@icloud.com
> >
> >>>> wrote:
> >>>>
> >>>>> Hello,
> >>>>> Can someone help me with the steps on how to compile and run an
> example
> >>>> on
> >>>>> IntelliJ
> >>>>
> >>
> >>
>
>

Reply via email to