RE: Watching logs

2004-09-26 Thread Nicko Cadell
Actually it has been a long time since I have tried to configure Chainsaw and log4net and I cannot remember the exact details, but you need to at least do the following: You need to set log4net up to use the UdpAppender with the XmlLayoutSchemaLog4j layout. You need

RE: log4net Questions

2004-09-26 Thread Nicko Cadell
> Thanks for the quick reply!! How about 2 more questions...? > > 1) I am using loglevel = log.Logger.Repository.Threshold.Name > as the mechanism to get a logger's level. Is that the best > way to get the level for a given logger? That will give you the level for the whole repository n

RE: Watching logs

2004-09-26 Thread David B. Witt
I am using NetLogClient (found through google) to accept UDP Appender output and display it. Not very elegant, but it does the basic job. I have the same trouble with chainsaw. I have tried it with both UDP and Multicast receivers.. They seem to start up but don't ever acknowledge getting any

RE: log4net Questions

2004-09-26 Thread David B. Witt
Nicko, Thanks for the quick reply!! How about 2 more questions...? 1) I am using loglevel = log.Logger.Repository.Threshold.Name as the mechanism to get a logger's level. Is that the best way to get the level for a given logger? 2) Does it hurt (do bad things) to call the DOMConfigurator m

RE: Watching logs

2004-09-26 Thread Ayende Rahien
I couldn't get it to work. Is there some place where it's explained? > -Original Message- > From: Nicko Cadell [mailto:[EMAIL PROTECTED] > Sent: Monday, September 27, 2004 12:32 AM > To: Log4NET User > Subject: RE: Watching logs > > Chainsaw is the best (and I think the only) GUI logging

RE: Watching logs

2004-09-26 Thread Nicko Cadell
Chainsaw is the best (and I think the only) GUI logging viewer that log4net currently works with. > -Original Message- > From: Ayende Rahien [mailto:[EMAIL PROTECTED] > Sent: 26 September 2004 19:36 > To: 'Log4NET User' > Subject: Watching logs > > I want to see the logs as they are bei

RE: log4net Questions

2004-09-26 Thread Nicko Cadell
Dave, > Is there a method that allows me to set a logger level > without going through the repository? You can set the Level property on the log4net.Repository.Hierarchy.Logger object. You can do this in a number of ways but the simplest is: log4net.Repository.Hierarchy.Logger logger = ((log4n

RE: Anyone consdiering attributes?

2004-09-26 Thread Nicko Cadell
This was something that I looked at a long time ago, AOP and dynamic injection sounded like a great idea, however it performance impact is huge for simple method calls. There are some context boundaries where this works, i.e. remoting or database access, but it is not appropriate for normal method

RE: Signing and ClsCompliant

2004-09-26 Thread Nicko Cadell
Andrew, Log4net 1.2.0-beta8 has the [assembly: System.CLSCompliant(true)] attribute set in the AssemblyInfo.cs file. The release builds are signed with a strong name. Cheers, Nicko > -Original Message- > From: Andrew Elmhorst [mailto:[EMAIL PROTECTED] > Sent: 24 September 2004 17:54 >

RE: release roadmap (was RE: Should I use v1.1 or v1.2b8 for production)

2004-09-26 Thread Nicko Cadell
This is certainly a reasonable question to ask. We do not commit to a release schedule simply because it would be so wildly inaccurate as to be considered harmful. While this is unfortunate and may 'show up' our software engineering practices it is a consequence of the contributor open source d

log4net Questions

2004-09-26 Thread David B. Witt
I hope I have the correct e-mail address, but if I don't please let me know how to use this system...obviously I am new to this I have a few questions about using log4net that I would like to get answers to. I have looked in the previous archives, but I haven't found answers. Here goes

Watching logs

2004-09-26 Thread Ayende Rahien
I want to see the logs as they are being logged on a GUI application. Is there some log client that I can use? I tried chainsow, but I couldn’t get it to show me anything.

RE: Logging on network share

2004-09-26 Thread Nicko Cadell
Alberto, If you can enable log4net internal debugging you should get details of any errors that log4net encounters. See http://logging.apache.org/log4net/release/manual/faq.html#internalDebug from more details. Cheers, Nicko > -Original Message- > From: Alberto Bolchini [mailto:[EMAIL PR

RE: Log4net and chainsaw

2004-09-26 Thread Nicko Cadell
Joben, Currently to build under nant you will need a nightly build of nant. I am currently using nant-0.85-20040729, but I'm sure that a more recent build should work correctly. The VS.NET log4net.csproj should build correctly. It is a 2002 version project, but should upgrade if you need to open

RE: configuration of Log4Net Environment

2004-09-26 Thread Nicko Cadell
It is not necessary to use the DOMConfigurator (or any other Configurator) to configure log4net. You can do all the configuration programmatically. To get a feel for what the configurators do have a look at the source for the log4net.Config.BasicConfigurator. This shows how to create and configure

RE: Anyone consdiering attributes?

2004-09-26 Thread Ayende Rahien
Title: Message You can do it using ContextBoundObject and some context settings, it’s not very well known (at least that I’ve seen), but it’s possible. If you want something like this, check out an Aspect Oriented Programning (AOP) for dotNet, They should contain it already. Be aware, cur