Re: Setting the logfile destination within the code

2009-01-27 Thread Jacob Kjome
On Tue, 27 Jan 2009 10:23:14 -0500 Ravi wrote: Hi: How do I setup the filename to which to send the logs within my code? my log4j.xml has the following. I guess I have to send the File attribute from my code. Can't seem to figure out how to change it using the BasicConfigurator. For an XML

Setting the logfile destination within the code

2009-01-27 Thread Ravi
Hi: How do I setup the filename to which to send the logs within my code? my log4j.xml has the following. I guess I have to send the File attribute from my code. Can't seem to figure out how to change it using the BasicConfigurator. = ==