logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Hinkel" <Michael.Hin...@datatrak.net>
Subject RE: ~/MyLogFile.txt
Date Fri, 24 Mar 2006 19:09:11 GMT

simply try:

<file value="${TMP}\myfile.log" /> 


Regards,
Michael

_______________________________________
DATATRAK Deutschland GmbH
Michael Hinkel
Software Developer
Rochusstrasse 65
53123 Bonn

Tel +49 (228) 97983-602
Fax +49 (228) 97983-34
Michael.Hinkel@datatrak.net
http://www.datatrak.net
  


-----Original Message-----
From: Morten Andersen [mailto:morten@vianett.no] 
Sent: Friday, March 24, 2006 3:27 PM
To: Log4NET User
Subject: ~/MyLogFile.txt

Hi

It would have been grate to be able to configure the logging directory
for my application, for example, in a environment variable.

Before:
            <file value="c:/LogFiles/log4net/MyLogFile.log"/>

After:
            <file value="~/MyLogFile.log"/>

-- 

Best Regards
*Morten Andersen*
Developer
Vianett AS <http://www.vianett.no/> | morten@vianett.no
<mailto:morten@vianett.no> | Office: +47 69 20 69 74
<callto://+4769206974> | Skype: mortander <callto://mortander>


Mime
View raw message