Hi 

I'm using log4j, running localy in cluster mode, with sh start_cluster.sh
No warnings in the command line.

Please find attached the Logging Files.

Where are I'm supposed to find the logging information?
In the log directory right?

Cheers Simon

Attachment: log4j-cli.properties
Description: Binary data

Attachment: log4j-yarn-session.properties
Description: Binary data

Attachment: log4j.properties
Description: Binary data

Attachment: logback-yarn.xml
Description: XML document

Attachment: logback.xml
Description: XML document




On 25 May 2016, at 16:10, Stefano Baghino <stefano.bagh...@radicalbit.io> wrote:

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