flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chen Bekor <chen.be...@gmail.com>
Subject printing datastream to the log - instead of stdout
Date Thu, 14 Apr 2016 17:28:46 GMT
hi,

the .print() method will print a dataset / datastream to the stdout.

how can I print the stream to the standard logger (logback/log4j)?

I'm using flink scala - so scala example code is much appreciated.

p.s - I noticed that there's a PrintFunction that I can implement but it
feels like I'm reinventing the wheel for something that should be very
elementary.

thanks!!

Chen.

Mime
View raw message