Very nice!

2014-09-02 11:37 GMT-07:00 Robert Metzger <[email protected]>:

> Cool.
> How about adding a new page in the build-in documentation (docs/ directory)
> that contains general remarks for developers (such as logging infra,
> configuration, IDE, tooling etc.).
>
>
>
>
> On Tue, Sep 2, 2014 at 8:29 PM, Till Rohrmann <[email protected]>
> wrote:
>
> > Hi guys,
> >
> > just a short remark about the new logging system we use henceforth in
> > Flink. We replaced jcl interface with slf4j and the log4j logging
> framework
> > with logback. The only things which change for you is the generation of
> the
> > logger and the configuration.
> >
> > A logger with slf4j is created the following way:
> >
> > import org.slf4j.Logger;
> > import org.slf4j.LoggerFactory;
> >
> > Logger LOG = LoggerFactory.getLogger(Foobar.class)
> >
> > In the context of this rework, we also disentangled Flink from the
> actually
> > used logging framework. This means that we got rid off the LogUtils. A
> > consequence of this change is that the logger is exclusively configured
> via
> > the configuration file logback.xml. This file has to be placed in the
> > classpath or given as an environment property
> > -Dlogback.configurationFile=<file> to the JVM.
> >
> > Bests,
> >
> > Till
> >
>

Reply via email to