RE: Log File Not Created with Pure XML Configuration

2005-06-26 Thread Ron Grabowski
Do you want log4net to detect if there is a log4net.config file and if so, automatically call log4net.Config.XmlConfigurator.Configure using that file? I don't think log4net supports that. If you've already gone through the trouble of adding a log4net reference to your project and added logging sta

RE: Log File Not Created with Pure XML Configuration

2005-06-26 Thread John Deviney
p sequence before > other assemblies are loaded? > > Nicko > > > -Original Message- > > From: John Deviney [mailto:[EMAIL PROTECTED] > > Sent: 24 June 2005 17:32 > > To: 'Log4NET User' > > Subject: RE: Log File Not Created with Pure XML > Co

RE: Log File Not Created with Pure XML Configuration

2005-06-24 Thread Nicko Cadell
: John Deviney [mailto:[EMAIL PROTECTED] > Sent: 24 June 2005 17:32 > To: 'Log4NET User' > Subject: RE: Log File Not Created with Pure XML Configuration > > I tried pure xml config with and without an assembly > attribute in AssemblyInfo.cs file. > > John Deviney

RE: Log File Not Created with Pure XML Configuration

2005-06-24 Thread John Deviney
: Friday, June 24, 2005 11:23 AM To: Log4NET User Subject: RE: Log File Not Created with Pure XML Configuration John, You had that didn't you? -Scott -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 10:16 AM To: Log4NET User Subject: RE

RE: Log File Not Created with Pure XML Configuration

2005-06-24 Thread Scott Wojan
John, You had that didn't you? -Scott -Original Message- From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 10:16 AM To: Log4NET User Subject: RE: Log File Not Created with Pure XML Configuration Scott, For configuring log4net you have 2 options. The fir

RE: Log File Not Created with Pure XML Configuration

2005-06-24 Thread John Deviney
0:16 AM To: Log4NET User Subject: RE: Log File Not Created with Pure XML Configuration Scott, For configuring log4net you have 2 options. The first is programmatic configuration, i.e. calling XmlConfigurator.Configure(new System.IO.FileInfo(...)). The other alternative is to add an assembly level attribu

RE: Log File Not Created with Pure XML Configuration

2005-06-24 Thread Nicko Cadell
> -Original Message- > From: Scott Wojan [mailto:[EMAIL PROTECTED] > Sent: 23 June 2005 21:41 > To: Log4NET User > Subject: RE: Log File Not Created with Pure XML Configuration > > Then it can't be a security issue... > Local admin can do whatever it wa

RE: Log File Not Created with Pure XML Configuration

2005-06-23 Thread Scott Wojan
ed the "C# windows exe" was it running on your local PC? > Were you trying to write it to a folder on your local PC? > > Scott > > > -Original Message- > From: John Deviney [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 23, 2005 3:15 PM > To: Log4

RE: Log File Not Created with Pure XML Configuration

2005-06-23 Thread John Deviney
ot;C# windows exe" was it running > on your local PC? > Were you trying to write it to a folder on your > local PC? > > Scott > > > -Original Message- > From: John Deviney [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 23, 2005 3:15 PM > To: Log4N

RE: Log File Not Created with Pure XML Configuration

2005-06-23 Thread Scott Wojan
sted the "C# windows exe" was it running on your local PC? Were you trying to write it to a folder on your local PC? Scott -Original Message- From: John Deviney [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 3:15 PM To: Log4NET User Subject: RE: Log File Not Creat

RE: Log File Not Created with Pure XML Configuration

2005-06-23 Thread John Deviney
gt; From: John Deviney [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 22, 2005 12:35 PM > To: 'Log4NET User' > Subject: RE: Log File Not Created with Pure XML > Configuration > > Yes, that was the only change. I did leave out some > additional > configuration unre

RE: Log File Not Created with Pure XML Configuration

2005-06-22 Thread Scott Wojan
2, 2005 12:35 PM To: 'Log4NET User' Subject: RE: Log File Not Created with Pure XML Configuration Yes, that was the only change. I did leave out some additional configuration unrelated to log4net for brevity. Here is the complete App.config just in case something else in the file might

RE: Log File Not Created with Pure XML Configuration

2005-06-22 Thread John Deviney
: Scott Wojan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 12:21 PM To: Log4NET User Subject: RE: Log File Not Created with Pure XML Configuration I just wanted to make sure your app could see the config file. So the only changes are: Right? Nicko, do you have any thoughts on this

RE: Log File Not Created with Pure XML Configuration

2005-06-22 Thread Scott Wojan
ubject: RE: Log File Not Created with Pure XML Configuration Scott, Yes, debugFlag = "true". John Deviney Texas Windstorm Insurance Association 5700 S. MoPac Exp., Building E, Suite 530 Austin, TX 78749 [EMAIL PROTECTED] -Original Message- From: Scott Wojan [mailto:[EMAIL PROTEC

RE: Log File Not Created with Pure XML Configuration

2005-06-22 Thread John Deviney
g4NET User Subject: RE: Log File Not Created with Pure XML Configuration John, Can you test the following: Put: string debugFlag = System.Configuration.ConfigurationSettings.AppSettings["log4net.Internal .Debug"]; As the first item in the Main method of your winform. Is that getting the v

RE: Log File Not Created with Pure XML Configuration

2005-06-22 Thread Scott Wojan
- From: John Deviney [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 10:26 AM To: '[email protected]' Subject: Log File Not Created with Pure XML Configuration I have a configuration using FileAppender. The log file is created only if I configure through cod

Log File Not Created with Pure XML Configuration

2005-06-22 Thread John Deviney
I have a configuration using FileAppender. The log file is created only if I configure through code like the following: log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo("tos.net-ri.exe.config")); I should be able to do this without code through the default application xml config fi