RE: internal debugging.

2005-10-27 Thread Ramaa Davanagere
Title: RE: internal debugging. Thanks a lot -Original Message- From: Ron Grabowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 27, 2005 1:23 PM To: Log4NET User Subject: RE: internal debugging. This page:  http://logging.apache.org/log4net/release/faq.html#internalDebug

RE: internal debugging.

2005-10-27 Thread Ramaa Davanagere
Title: RE: internal debugging. I said I didn't want to use the config file only because log4net interop (in VB) doesn't like config files atall. -Original Message- From: Matthew Brown [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 27, 2005 1:40 PM To: Log4NET User S

Re: internal debugging.

2005-10-27 Thread Matthew Brown
No config files are allowed? That sounds like a nightmare of a project :( On 10/27/05, Ramaa Davanagere <[EMAIL PROTECTED]> wrote: > > > > > > All the setting to enable log4net internal debugging should be done via > code. No config files are allowed. > > > &g

RE: internal debugging.

2005-10-27 Thread Ron Grabowski
This page: http://logging.apache.org/log4net/release/faq.html#internalDebug says: " Internal debugging messages are written to the console and to the System.Diagnostics.Trace system " Here's some sample code that adds a listener to the Trace system and redirects mes

RE: internal debugging.

2005-10-27 Thread Ramaa Davanagere
  All the setting to enable log4net internal debugging should be done via code. No config files are allowed.   -Original Message- From: Ramaa Davanagere Sent: Thursday, October 27, 2005 12:59 PM To: '[email protected]' Subject: internal debugging.   I

internal debugging.

2005-10-27 Thread Ramaa Davanagere
Is this how I enable internal debugging via code?   log4net.Util.LogLog.InternalDebugging = true;   Also, where are these log messages written to? Is it written to text file and where is this file located? If not, how can I set it up to write all the messages to text file?   Finally

Re: Capture Log4NET Internal Debugging

2005-10-10 Thread Ron Grabowski
that I > might better figure out why logging is not working. > > > > For my app, logging is working great now, but I would like to capture > the > internal debugging output just incase something fails in the future. > > > > > > Thanks! > >

Capture Log4NET Internal Debugging

2005-10-10 Thread Michael S. Collier
internal debugging output just incase something fails in the future.     Thanks!

RE: Internal debugging

2005-09-10 Thread Nicko Cadell
fig")); > > > > What should I do next? > > > > > > -Original Message- > From: Ron Grabowski [mailto:[EMAIL PROTECTED] > Sent: Friday, September 09, 2005 11:24 AM > To: Log4NET User > Subject: RE: Internal debugging > > >

RE: Internal debugging

2005-09-09 Thread Ron Grabowski
You haven't given any feedback if your program is finding its App.config file correctly: Console.WriteLine( ConfigurationSettings.AppSettings["log4net.Internal.Debug"]); Console.WriteLine( ConfigurationSettings.AppSettings["Hello"]); If you're running a WinForm program that doesn

RE: Internal debugging

2005-09-09 Thread Ramaa Davanagere
  Anybody having a similar problem? How did you solve it?   -Original Message- From: Ramaa Davanagere Sent: Friday, September 09, 2005 11:33 AM To: 'Log4NET User' Subject: RE: Internal debugging     This is EXACTLY how my config file

RE: Internal debugging

2005-09-09 Thread Ramaa Davanagere
From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 11:24 AM To: Log4NET User Subject: RE: Internal debugging   Is there anything inside of log4netInternalDebugging.txt?   Does your xml file look like this:      ...     Maybe the closing node is causing problems.

RE: Internal debugging

2005-09-09 Thread Ron Grabowski
Is there anything inside of log4netInternalDebugging.txt? Does your xml file look like this: ... Maybe the closing node is causing problems. App.Config is a special filename in Visual Studio gets renamed to the name of your executable when the project is compiled. If your proejct was nam

RE: Internal debugging

2005-09-09 Thread Ramaa Davanagere
Title: RE: Internal debugging One more thing to add   The file log4netInternalDebugging.txt is not getting created now. Earlier the file was created with 0 kb in it.   -Original Message- From: Ramaa Davanagere Sent: Friday, September 09, 2005 11:11 AM To: 'Log4NET

RE: Internal debugging

2005-09-09 Thread Ramaa Davanagere
Title: RE: Internal debugging Oh wow! I LOVE the idea of setting up the trace via the config file. This is very neat! I can enable it whenever I want. But why is it so hard to get things working though? I implemented the code changes you mentioned and its still not working. My new code

Re: Internal debugging

2005-09-09 Thread Ron Grabowski
I'm > trying > to do is, enable the internal debugging and write the message to > log4netInternalDebugging.txt file. When I run this code, the file is > getting > created but no messages are getting logged. Please help > > > > > > public class myError

Re: Internal debugging

2005-09-09 Thread Farid LAOUFI
I don't know if this will help you (I'm pretty new in log4net), but you can try to add this in your app.config : 2005/9/9, Ramaa Davanagere <[EMAIL PROTECTED] >: The code attached below is just not working. What is wrong? All I'm trying to do is, enable the i

Internal debugging

2005-09-09 Thread Ramaa Davanagere
The code attached below is just not working. What is wrong? All I'm trying to do is, enable the internal debugging and write the message to log4netInternalDebugging.txt file. When I run this code, the file is getting created but no messages are getting logged. Please help     p