It looks like the logs should show up.
Are you using log4j or logback? Did you include the binding to slf4j for
the library you're using? Did any warning on slf4j appear on stdout when
the job is run? If you set up all correctly, can you share your
logback/log4j config file with us so that we can maybe understand the
problem?

On Wed, May 25, 2016 at 3:58 PM, simon peyer <simon.pe...@soom-it.ch> wrote:

> Hi guys
>
> Trying to log stuff, I used the print/println function which works quite
> well.
> But now I would like to use the slf4j logger.
> For each class/object in scala I intiliaized a logger like this:
>  var log: Logger = LoggerFactory.getLogger(getClass)
>
> then I did some logging log.error("Error....")
>
> But it doesn't show on the console.
> After reading a lot of websides about this issue I was not able to come to
> a solution.
>
> Do you guys have any ideas how to integrate the sl4fj logger into scala
> flink?
>
> --Thanks
> Simon
>



-- 
BR,
Stefano Baghino

Software Engineer @ Radicalbit

Reply via email to