I also had to make a new appender to handle this.

On 6/17/05, Lutz Michael <[EMAIL PROTECTED]> wrote:
> 
> one approach is to sub-class the existing appender and write it yourself.
> Not optimal ... but it can be done.
> 
> -----Original Message-----
> From: Taranbir I Singh [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 17, 2005 3:25 AM
> To: Log4J Users List
> Subject: Creating the directory Automatically
> 
> HI,
> 
> I have defined the log file as "c:\temp\test.log", if the directory c:\temp
> is not already existing then its giving me the error... is this possible to
> create the directory if it is not there automatically?
> 
> 
> Any Solutions?
> 
> -------------------------------------------------------------------------------
> This message and any included attachments are from Siemens Medical Solutions
> USA, Inc. and are intended only for the addressee(s).
> The information contained herein may include trade secrets or privileged or
> otherwise confidential information.  Unauthorized review, forwarding, 
> printing,
> copying, distributing, or using such information is strictly prohibited and 
> may
> be unlawful.  If you received this message in error, or have reason to believe
> you are not authorized to receive it, please promptly delete this message and
> notify the sender by e-mail with a copy to [EMAIL PROTECTED]
> 
> Thank you
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to