You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Karishma Vinayak <Ka...@Hutchison3G.com> on 2002/07/11 13:17:31 UTC

Relative path for FileAppender

HI,
 
I want to provide the log file name at initialising of a servlet as I want
to provide a relative path to the file. All the properties for logging are
set in the config file apart from the file name.when I provide the file name
at runtime the file gets created but nothing gets logged on as the
Propertycongigure pick only those property listed in the config file.
I tried using a system environment variable to indicate the path in the
config file but it creates the file default in c:\.
Could anyone pls suggest a solution how to give relative path to the log
file.
 
Thanks,
Karishma
 
 
 

 <ma...@hutchison3g.com> Karishma Vinayak <?xml:namespace
prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Software Developer
UI Team
 <http://www.hutchison3g.com/> Hutchison 3G UK Ltd

 

 
 
 
 


________________________________________________________________________

This e-mail message (including any attachment) is intended only for the personal 
use of the recipient(s) named above. This message is confidential and may be 
legally privileged.  If you are not an intended recipient, you may not review, copy or 
distribute this message. If you have received this communication in error, please notify 
us immediately by e-mail and delete the original message.

Any views or opinions expressed in this message are those of the author only. 
Furthermore, this message (including any attachment) does not create any legally 
binding rights or obligations whatsoever, which may only be created by the exchange 
of hard copy documents signed by a duly authorised representative of Hutchison 
3G UK Limited.
________________________________________________________________________