RE: Easy Question - Easy answer

2004-11-17 Thread Denis, Rich
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

RE: Logging Perf Hit

2004-11-16 Thread Denis, Rich
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

RE: DomConfigurator exception?

2004-11-10 Thread Denis, Rich
  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

RE: DomConfigurator exception?

2004-11-10 Thread Denis, Rich
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

RE: Question about the DomainAttribute

2004-10-27 Thread Denis, Rich
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

RE: Question about the DomainAttribute

2004-10-27 Thread Denis, Rich
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

Question about the DomainAttribute

2004-10-25 Thread Denis, Rich
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”)

AOP based logging.

2004-10-06 Thread Denis, Rich
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

RE: ASP.NET Web Service to wrap Log4Net

2004-10-05 Thread Denis, Rich
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

RE: HttpContext logging

2004-09-27 Thread Denis, Rich
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 - RE: Question regarding permissions

2004-08-27 Thread Denis, Rich
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

Question regarding permissions

2004-08-25 Thread Denis, Rich
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

RE: Building using NAnt

2004-08-21 Thread Denis, Rich
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

RE: Building using NAnt

2004-08-21 Thread Denis, Rich
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:

RE: Building using NAnt

2004-08-21 Thread Denis, Rich
uot; /> /// <param name="DbType" value="String" /> /// <param name="Size" value="4000" /> /// <param name="Layout" type="log4net.Layout.PatternLayout"> /// <param name=

RE: Building using NAnt

2004-08-21 Thread Denis, Rich
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

RE: Building using NAnt

2004-08-21 Thread Denis, Rich
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

RE: Building using NAnt

2004-08-20 Thread Denis, Rich
;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(@"..\

Building using NAnt

2004-08-20 Thread Denis, Rich
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

RE: logging to a textbox...

2004-08-20 Thread Denis, Rich
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

RE: NDC vs. MDC

2004-08-20 Thread Denis, Rich
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

NDC vs. MDC

2004-08-20 Thread Denis, Rich
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

RE: not loading the DOMConfigrator

2004-07-18 Thread Denis, Rich
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

RE: Log4net new user: error no appender found: what am I doing wr ong?

2004-07-14 Thread Denis, Rich
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

RE: Log4net new user: error no appender found: what am I doing wr ong?

2004-07-13 Thread Denis, Rich
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

RE: Log4net new user: error no appender found: what am I doing wr ong?

2004-07-13 Thread Denis, Rich
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

RE: Log4net new user: error no appender found: what am I doing wr ong?

2004-07-13 Thread Denis, Rich
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

RE: Restarting app can cause logging to stop?

2004-06-29 Thread Denis, Rich
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

RE: Rolling logs, one for each run of the application?

2004-06-14 Thread Denis, Rich
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

Repositories/Domains

2004-06-07 Thread Denis, Rich
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

RE: Logger Repository?

2004-06-07 Thread Denis, Rich
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

RE: log4net assembly version

2004-05-26 Thread Denis, Rich
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

RE: What am I doing wrong...

2004-05-25 Thread Denis, Rich
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

What am I doing wrong...

2004-05-25 Thread Denis, Rich
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

RE: Configuration Questions

2004-05-24 Thread Denis, Rich
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

RE: Windows 2003 Web Services, FileAppender and the Netowrk Servi ce a ccount

2004-04-20 Thread Denis, Rich
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

Windows 2003 Web Services, FileAppender and the Netowrk Service a ccount

2004-04-20 Thread Denis, Rich
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

RE: log4net: Set Up Logging In Web Service

2004-03-22 Thread Denis, Rich
>> 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

RE: Logger Repository?

2004-02-25 Thread Denis, Rich
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

Logger Repository?

2004-02-25 Thread Denis, Rich
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