Title: Message
From the “Performance” section of the doc
found at: doc/manual/introduction.html#performance
Performance
One of the often-cited arguments against
logging is its computational cost. This is a legitimate concern as even
moderately sized applications can generate thousands
Title: Message
As for calling Configure, I'm not sure
where that goes in an ASP.Net application.
You can either call configure manually in
the app_start code or you can assign an assembly attribute to handle the
configuration call for you. For asp.net apps this seems to works well for
From: Denis,
Rich [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004
2:58 PM
To: Log4NET
User
Subject: RE: DomConfigurator
exception?
Log4net is designed to fail
gracefully. Logging is a secondary function of an application and should
not bring an application to its knees if t
Log4net is designed to fail gracefully.
Logging is a secondary function of an application and should not bring an
application to its knees if there are errors.
Rich Denis
perotsystems™
From: Benjamin Peikes
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004
1:48
Nevermind,
I found the assembly attribute in the Simple module not the shared. Threw
me off but I think I have it now. Thanks.
Rich Denis
perotsystems(tm)
972.577.5869 Wk
[EMAIL PROTECTED]
-Original Message-
From: Denis, Rich
Sent: Wednesday, October 27, 2004 9:08 AM
To: Log4NET
main attribute to put that assembly into
a separate domain. The assembly then configures that domain using the
DOMConfigurator attribute.
The Domain attribute is designed to affinitise a whole assembly to a
named repository, this repository can be configured separately.
Nicko
> -Orig
Hello,
I have a question on using the DomainAttribute
attribute. What I would like to know is if I use the Attribute in an
assembly file, then when I call from a class in the assembly do I also need to
specify the domain in the log statement? Such as log.Debug(“MyDomain”,
“Statement”)
I know that I remember reading a thread a month or so ago
about using Attributes and an AOP based type of system for logging. I
just came across this article and thought I would post it here for you to see:
http://www.codeproject.com/csharp/AspectIntercept.asp?mode=all&userid=565680&se
Title: ASP.NET Web Service to wrap Log4Net
Are you all doing this Asynchronously? I
would think that writing to a web service, if not done asych could cause a perf
issue.
Rich Denis
perotsystems™
From: Eric Seifert
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 200
Allen,
Check the MDC (Mapped Diagnostic Context). You can use this to set
variables that can be output in the log. Hope this helps. If you still need
more direction I can help you a bit later, just wanted to get you pointed in
the right direction.
Rich Denis
perotsystems(tm)
-Original Mes
RESEND. Hopefully I can get a taker.
Sorry for the WOB, just need to figure out this behavior.
From: Denis, Rich
Sent: Wednesday, August 25, 2004
4:12 PM
To: Log4NET User
Subject: Question regarding
permissions
Hello all,
I was hoping for a little extra brain power
Hello all,
I was hoping for a little extra brain power. I have
recently moved to 2003 and was running a web app that uses log4net which uses a
file appender. On my 2000 box I needed to create the folder location that the
file would log to and set permissions for the ASPNET user to get
perotsystems(tm)
972.577.5869 Wk
[EMAIL PROTECTED]
-Original Message-
From: Denis, Rich
Sent: Saturday, August 21, 2004 3:15 PM
To: Log4NET User
Subject: RE: Building using NAnt
Thanks again for the response. Can you please tell me what tool you use to
get the files downloaded? I have
can be one or two lines. Extra newline can break C# documentation
comments. Please try configuring your CVS to use Unix newlines. In this mode
it will not modify text files.
- Alexey.
Denis, Rich wrote:
uot; />
/// <param name="DbType" value="String" />
/// <param name="Size" value="4000" />
/// <param name="Layout"
type="log4net.Layout.PatternLayout">
/// <param name=
Scratch that. It did seem that this is a 2003 specific deal. Still would
like to hear from Nicko on how he solves the build failure.
Rich Denis
perotsystems(tm)
-Original Message-
From: Denis, Rich
Sent: Friday, August 20, 2004 7:07 PM
To: Log4NET User
Subject: RE: Building using NAnt
orben
-Original Message-
From: Denis, Rich [mailto:[EMAIL PROTECTED]
Sent: Friday, August 20, 2004 4:55 PM
To: Log4NET User
Subject: RE: Building using NAnt
Torben,
Thanks for the quick reply. If it is not the xml comments, then what
do
you think is causing the final failure? DO I first h
;STRONG' isn't defined,
so the compiler never adds the crucial .snk file, meaning you can't sign
the .dll, meaning the system won't let you use it. I just commented out
the #if/#endif like this:
//#if STRONG
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile(@"..\
Hello,
I have gotten the latest source files for log4net and tried using
the latest source from NAnt(0.85.1684.0) to build the project. Something
seems to go wrong when I build. Can anyone look at this and tell me why it
is failing. It seems to be an XML doc related issue. You will see
I am not sure I can figure out what you
are doing. Is the textbox part of the actual application that is logging
or is it another application that is just reading the log file? If it is the
first one then once you log a line then you just also write it to the text
box. If it is the secon
help with this would be appreciated. Thanks.
Rich Denis
perotsystems(tm)
____
From: Denis, Rich
Sent: Friday, August 20, 2004 12:33 PM
To: Log4NET User
Subject: NDC vs. MDC
Can someone please help me figure out the differences between NDC and MDC?
Reading the d
Can someone please help me figure out the differences
between NDC and MDC? Reading the documentation on them, it would seem that
they allows you to do the same thing? One difference I do see is that if you
log the NDC the entire stack of contextual info is printed vs., if I use MDC, I
can
There are some specifics to getting
configuration files read in NUnit. You usually have to have a config filed
named as follows: My.Assembly.dll.config that config file needs to go into the
bin directory of the NUnit assembly. Is this how you have your project set
up?
Rich Denis
with config files.
Once again, thanks to everyone for their help.
Cheers
Michael
-Original Message-
From: Denis, Rich [mailto:[EMAIL PROTECTED]
Sent: 13 July 2004 23:34
To: Log4NET User
Subject: RE: Log4net new user: error no appender found: what am I doing wr
ong?
One more thing. I too
Rich Denis
perotsystems(tm)
972.577.5869 Wk
[EMAIL PROTECTED]
-Original Message-----
From: Denis, Rich
Sent: Tuesday, July 13, 2004 5:27 PM
To: Log4NET User
Subject: RE: Log4net new user: error no appender found: what am I doing wr
ong?
That is what I was going to suggest. In a debug scenario you ma
That is what I was going to suggest. In a debug scenario you may run into
that. Monitor the directory and see if the file is there and if it gets
deleted. If so you may try putting a breakpoint on the entry point and wait
for the config file to get re-created.
Rich Denis
perotsystems(tm)
9
The logger name is not significant. It only becomes significant if you try
to configure it with specific appenders. For what you are doing you should
be fine. I personally find that the FileAppender is the easiest to use.
Also you can use the console appender. You can then see its output using
I use 1.2 Beta 8 and also have rolling log file appenders on our service. I
am constantly restarting and have not seen this issue. Of course I may just
be luck. I am glad I have read this thread so if it ever does happen, I
know where to look for a resolution.
Rich Denis
perotsystems(tm)
[EMAI
Title: Message
The rollinglogfile appender does support
rolling on days. But that still wont solve the problem that you were asking
about unless that is default behavior for the rolling appender. I think it
just appends to the same file if it is on the same date. It would be possible
to h
I was developing a component library that I
thought I would create its own repository for. I have added the necessary
Domain attribute to create it. What I want to know is if I call
LogManager.GetLogger() does the fact that the Logger is
getting created in the context of the assembly that
Nicko,
Getting back to a question that I had long ago Concerning
Repositories and "Domains", is there only one repository per domain? Your
email says if I want to create a repository I add a new domain attribute.
This leads me to believe that there is a one to one mapping between the t
When will that next release be?
-Original Message-
From: Nicko Cadell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 12:27 PM
To: 'Log4NET User'
Subject: RE: log4net assembly version
Oliver,
I agree that incrementing only the revision number was not the correct
decision.
>From
it’s
parent (PSC.Tenet.CIE).
If you wish to override it, I think you have to set
“additivity=”false”” on the RetryManager logger
element.
-c
From: Denis, Rich
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 3:36
PM
To: Log4NET
User
Subject: What am I doing wrong
Hello
all,
Today I tried to get a bit more detailed with my logging. I had one class that
I needed to see more information on (PSC.Tenet.CIE.RetryManager) so I created
the Logger config for it as seen below. I set the level to Debug so that I
could see all of the information on it. Th
Let me see if I can tackle this...
General
1) What is the difference between using and ?
Appenders are the conceptual name for outputs. There are multiple appenders
like "RollingLogFile" etc. These are all configured and then referenced as
an 'output' for the logger
Sorry for the waste of bandwidth. I have
found my answer. For those that were unaware like I was, in WS2003, the ASP
worker process is run under the “Network Service” account NOT the
ASPNET account. So setting privileges for ASPNET does not gain you anything.
From: Denis
Hello,
I was hoping someone could help me figure out some very
specific behavior. I have a web service that I have been trying to get logging
working for. When developing this on Windows XP logging works fine after
granting the ASPNET account access to write files to my logging direct
>> I’d
like to see the logged messages as part of the same log as those coming from my
windows application.
I think that this is part of your problem. As far
as I know two different processes can not log to the same log file. Since the
first process to fire up will grab a lock on tha
Nicko,
Thanks for the great response. I think I have a much better understanding
of this. I do have a few more clarifying questions though.
>Further more, if you decide that you don't want ignore all log messages
from my component how can you configure log4net to do this?
You need to kn
I have been using log4net for some time now on all my
personal projects and recently have been tasked with giving a presentation on
the log4net framework. I may asking a few of these over the next week but
the first one that I have is on the loggerRepository. I am not too sure
exactly wha
40 matches
Mail list logo