Hi, Thanks Selva and Sean. I've updated https://cwiki.apache.org/confluence/display/TRAFODION/Debugging+Tips with these tips. Feel free to comment and/or update.
Dave -----Original Message----- From: Sean Broeder [mailto:[email protected]] Sent: Monday, January 9, 2017 1:56 PM To: [email protected] Subject: RE: Loggers in Trafodion Java classes Also, from the top of the source file you can see the file is part of package org.trafodion.sql; So in the file Selva mentions you should put a line like log4j.logger.org.trafodion.sql=<desired logging level> Thanks, Sean -----Original Message----- From: Selva Govindarajan [mailto:[email protected]] Sent: Monday, January 9, 2017 1:35 PM To: [email protected] Subject: RE: Loggers in Trafodion Java classes Logger configuration is at $TRAF_HOME/conf/log4j.hdfs.config The log file is written to $TRAF_HOME/logs/trafodion.hdfs.log It is same for workstation and the cluster. In case of cluster, you need to set it up in every node. Selva -----Original Message----- From: Dave Birdsall [mailto:[email protected]] Sent: Monday, January 9, 2017 1:23 PM To: [email protected] Subject: Loggers in Trafodion Java classes Hi, I'm looking at HBaseClient.java, and I would like to use the logger there. Can someone remind me how to turn on the logging? Also, where will the log file go? (If the answer is different on a workstation than it is on a cluster, please answer for each.) I'll add this info to the wiki Debugging Tips page. Thanks, Dave
