samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Blasi Uribarri <>
Subject log4j configuration
Date Tue, 04 Aug 2015 07:44:18 GMT

I guess this is just a howto question, but I am not able to find how it works. I am trying
to trace the code of the job I want to execute in Samza. I have defined the environment variable
as stated in the documentation:
export SAMZA_LOG_DIR=/opt/logs

I believe that this is working as I have seen that the garbage collector correctly generates
the gc.o file and writes to it. The directories exists in all samza servers (two in my lab).

I have added the following code to the job:

Logger logger = Logger.getLogger(GetConfig.class);"Trace text message");

Although the code is being executed (I can see the messages going through) I see no trace
written. I don’t have experience with log4j and maybe it is there where I have to look but,
I am missing something?


Jordi Blasi Uribarri
Área I+D+i
Oficina Bilbao

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message