Hi,
What version? they are changing it with every new release...
-----------------------------------
...
import org.apache.log4j.Logger;...
public class YourClass { private static Logger logger = Logger.getLogger(YourClass.class);
public YouClass { logger.debug("Entering constructor...");
}
In version 7 (if I am not mistaken - it was a few years ago) - you need to include log4j.jar into Tomact class path and you have to initialize it in your building block (I did it in a servlet)
In version 8 - do not include log4j.jar in your building block war file and do not initialize it, the log4j properties file is in /usr/local/blackboard/apps/tomcat/common/classes
in version 9 - I am still struggling to make it work... they change the directory of the properties file - now it is in /usr/local/blackboard/config/tomcat/classes
Hope this helps,
-D