logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul_uniquename <wavean...@yahoo.com>
Subject Re: Usage guide for Vista?
Date Mon, 10 Mar 2008 02:52:26 GMT

My log4net.config file uses this line. I thought it was going to work.

<file value="${ALLUSERSPROFILE}\Application Data\MyStuff\logs\MyLog.log" />

I need an environment variable here that _always_ works on xp and vista if
admin or non-admin.

Or, how can I keep using the log4net.config file, but programatically change
the path of the log file at runtime? That might work but I couldn't figure
that out either.

View this message in context: http://www.nabble.com/Usage-guide-for-Vista--tp15949615p15949950.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

View raw message