flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simon peyer <simon.pe...@soom-it.ch>
Subject Logging with slf4j
Date Wed, 25 May 2016 13:58:08 GMT
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
Mime
View raw message