Hello,
I'm trying to use log4j with the sample turbine app - I'm not sure where to post this
question so I apologize if this is not the best place.
I've looked at some samples in the manual as well as in the "scarab" app that turbine
uses for its examples. So in my code I do:
static Logger logger = Logger.getLogger(my.class);
and then I've tried:
logger.debug("/n/n/nTEST/n/n/n");
logger.info("/n/n/nTEST/n/n/n");
-- I have no clue where it is sending this logging information, but it is not writing
it to a file or to console - is there an easy way to specify a log file I want all my
log4j logs going to? I know that I can create an Appender to specify the output
location, but I am not figuring out from the javadoc how I would specify a file on my
system. Also, I know I can set a properties file and I have tried using the
PropertyConfigurator to do so as well and no luck... I am missing something major?
thank you,
Luke Majewski