Hi Dave,

Looking at the source file it's part of the 'org.trafodion.sql' package.  So
you should edit
$MY_SQROOT/sqf/conf/log4j.hdfs.config and add an entry such as
log4j.logger.org.trafodion.sql=<level>

The logging goes to $MY_SQROOT/core/sqf/logs/trafodion.hdfs.log

Regards,
Sean

-----Original Message-----
From: Dave Birdsall [mailto:[email protected]]
Sent: Monday, April 25, 2016 11:01 AM
To: [email protected]
Subject: Debugging: logging questions

Hi,



I notice that the Trafodion java files make use of the log4j logger. (I’m
looking specifically at HTableClient.java in
core/sql/src/main/java/org/trafodion/sql, for example.)



How do I turn on this logger? (I gather I need to change a log4j.properties
file, however there are a zillion of these in the source tree. Which one?)



Also, where will the log itself be written?



I’m working on a development workstation, standalone install.



Thanks,



Dave

Reply via email to