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
> 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
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
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
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
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
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
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
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
>
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
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
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.
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
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
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
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
16 matches
Mail list logo