Tom Sheckells

Using Log4J in Blaze

Discussion created by Tom Sheckells on Mar 23, 2009
Latest reply on Apr 20, 2009 by Kishore Prabaharan

Hi,

     Does anyone have an example of properly using Log4J in Blaze SRL?  I've gotten to the point where it will step over the code I've added but I don't get any output.  I'm guessing that I don't have the configuration file in the correct location and/or I just don't know where to look.  Here is what I have so far (using the built-in version of Log4J that comes with Blaze 6.5.5).

 

logger is some Logger initially Logger.getLogger("loggingTest");

BasicConfigurator.configure();
NDC.push("Client #45890");

logger.info("Awake awake. Put on thy strength.");
return;

 

(This is from the Log4J trivial example implemented in a Blaze Function)

 

     Tom

Outcomes