Re: [despammed] Re: Use of backslash in file paths

2004-11-10 Thread Bosco So
How about simply using forward slashes? Our file appender section looks like this logs/publicweb.log" /> and works properly. If you're concerned that your ops people need a reminder, you can always add a comment. Jo

Re: Extending log4net with new appenders

2004-11-10 Thread phalen180
Well, I solved my own problem. The issue was that I wasn't referencing the class properly, according to the namespace I'd put it in (log4net.Appender) I made an example project in the hopes that noone else has to go through what I went through. I know that I've seen other messages asking for exa

RE: can one use >1 appender and to have "fail-over" logging

2004-11-10 Thread Mark Kamoski
** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manag

RE: can one use >1 appender and to have "fail-over" logging

2004-11-10 Thread Neils . Christoffersen
I don't know about the "failover" feature, but you can define as many Appenders as you like in your configuration and have log4net log to all of them. You can also specify different layouts and thresholds for each appender to, for instance, log all messages to a database, but only log errors to e-m

can one use >1 appender and to have "fail-over" logging

2004-11-10 Thread Mark Kamoski
** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manag

RE: Is "2003-07-15 16:00 1.2.0 Beta8" really the latest-and-greatest

2004-11-10 Thread Mark Kamoski
** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manag

RE: Is "2003-07-15 16:00 1.2.0 Beta8" really the latest-and-greatest

2004-11-10 Thread Mark Kamoski
** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manag

Re: Is "2003-07-15 16:00 1.2.0 Beta8" really the latest-and-greatest

2004-11-10 Thread Eric Means
No, it's not. You can try building it from the CVS source (available from logging.apache.org), or you can download nUnit or nAnt, which IIRC both have more recent builds included with them. On 10 Nov 2004 21:23:33 +, Mark Kamoski <[EMAIL PROTECTED]> wrote: > > > ***

Is "2003-07-15 16:00 1.2.0 Beta8" really the latest-and-greatest

2004-11-10 Thread Mark Kamoski
** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manag

Chainsaw and log4net

2004-11-10 Thread Simon Wallis
I'm trying to get log4net to communicate with Chainsaw using the UdpAppender. I have everything working successfully except for the fact that the Class, Method, File and Line columns in Chainsaw show up empty. Here is the appender config code I'm using:

RE: DomConfigurator exception?

2004-11-10 Thread Marc Lewandowski
Title: Message Benjamin,   One other thing: log4net's failure isn't necessarily silent.  If there is a configuration error or some other issue that stops log4net from logging, it writes a single message to System.Console.Error (see same link as previous).   -Marc -Original Message-

RE: DomConfigurator exception?

2004-11-10 Thread Marc Lewandowski
Title: Message Benjamin,   Actually, the uses you envision, while they would be really great to have in a product as flexible as log4net, would be outside the intended uses of the product.  Not that you can't, just that you do so at your own risk.  See http://logging.apache.org/log4net/releas

RE: DomConfigurator exception?

2004-11-10 Thread Benjamin Peikes
As everyone else has said, I think log4net is great. I was just pointing out the one shortcoming I've run into. I don't always get to administer the apps I write, and others can screw up config files. It would be great to be able to safe guard against it.   Benjamin Peikes Gargoyle Strategic

RE: DomConfigurator exception?

2004-11-10 Thread Linda Wang \(IT\)
Why not check the config file a second time;-)?   -Original Message- From: Benjamin Peikes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 12:07 PM To: Log4NET User Subject: RE: DomConfigurator exception?   The actual logging calls should fail gracefully but the l

RE: Access is denied: 'log4net'

2004-11-10 Thread Benjamin Peikes
You're all correct. It's probably a permissions issue. I'd still contact the hosting company. It could be a problem on their side. Benjamin Peikes Gargoyle Strategic Investments 201-227-2209 -Original Message- From: Linda Wang (IT) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10,

RE: DomConfigurator exception?

2004-11-10 Thread Denis, Rich
While you have some great logic to your response, I was simply answering your question as to why it does not throw an exception.   Rich Denis perotsystems™ From: Benjamin Peikes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 2:07 PM To: Log4NET User Subject:

RE: Access is denied: 'log4net'

2004-11-10 Thread Linda Wang \(IT\)
Hi, Neils, In this case, I agree with you. The log4net has been found. It is in the right directory, namely, \bin where the other dlls are. It is not like what Ben said. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 12:02 PM To: l

RE: DomConfigurator exception?

2004-11-10 Thread Benjamin Peikes
The actual logging calls should fail gracefully but the logging system itself is not always a secondary function, sometimes it's used as an audit trail and if there is a problem in the configuration of logging, you want to know before you start. In addition, it should be up to the programmer

RE: DomConfigurator exception?

2004-11-10 Thread Linda Wang \(IT\)
You might need to turn on the internal debugging of log4net. The config file is pretty straight forward. Sometimes, if you don’t see the loggings expected to see, it might be that your program has problems. For example, the method contains log4net statements has not been executed at all.

RE: Access is denied: 'log4net'

2004-11-10 Thread Neils . Christoffersen
Wouldn't that throw a FileNotFoundException? -Original Message- From: Benjamin Peikes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 1:50 PM To: Log4NET User Subject: RE: Access is denied: 'log4net' Actually, it looks like log4net is not in a directory where the server can

RE: Access is denied: 'log4net'

2004-11-10 Thread Mario Gutierrez
Title: Message FileLoadException means the assemblyi was found but could not be loaded. I've run into this issue many times and it's always been a permission error.   -Original Message-From: Benjamin Peikes [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 11:50 AMTo: Log

RE: Access is denied: 'log4net'

2004-11-10 Thread Mario Gutierrez
Title: Message I know that's what the error indicates. The only way we've gotten it to work is to ensure  ASPNET has access to the log directory and if the log files are on another machine you need to use impersonation to run the ASPX page under another identity.   -Original Message

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: Access is denied: 'log4net'

2004-11-10 Thread Benjamin Peikes
Title: Message Actually, it looks like log4net is not in a directory where the server can find it. Might want to ask your ISP where it should go.   Benjamin Peikes Gargoyle Strategic Investments 201-227-2209   From: Mario Gutierrez [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10,

DomConfigurator exception?

2004-11-10 Thread Benjamin Peikes
Anyone know why doesn't log4net.Config.DOMConfigurator.Configure throw an exception if there is a problem in the config file?   Benjamin Peikes Gargoyle Strategic Investments 201-227-2209  

RE: Access is denied: 'log4net'

2004-11-10 Thread Linda Wang \(IT\)
Title: Message The thing is log4net cannot be loaded at all. It is the dll itself which has been denied access. I don’t have administration rights and access to IIS.   -Original Message- From: Mario Gutierrez [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 11:38 AM

RE: Access is denied: 'log4net'

2004-11-10 Thread Mario Gutierrez
Title: Message ASPNET user  needs R/W/Create permissions to the directory where log4net writes its log files. If it's a network share you'lll need to use impersonation.   -Original Message-From: Linda Wang (IT) [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 11:32 AMTo

Access is denied: 'log4net'

2004-11-10 Thread Linda Wang \(IT\)
  HI, I am using log4net in my web application. It works fine in my local development machine. But after I deployed to a host server, log4net can not be loaded when a page referring to it has been called. I got this error shown as below. This hosting server is paid shared one. Any clues?

Re: Use of backslash in file paths

2004-11-10 Thread Joe Joe
I know I can work around it by doubling the backslashes or using forward slashes. But I'm concerned my administrators won't always remember to do this - as they don't generally need to double backslashes in filenames in .NET config files. Why does it behave like this? Is it a bug? You need to

IObjectRenderer and ADONetAppender

2004-11-10 Thread Davis, Joshua
Hello, I want to log data from a custom object into the ADONetAppender. From the documentation I understand that I will need an object renderer but how do I use my object renderer with the ADONetAppender? This question may come from not understand how IObjectRenderer relates to layout. Thanks,

RE: Problem with RollingFileAppender when restarting application

2004-11-10 Thread Senthil Sivasubramanian S
I believe you should set the "appendToFile" flag to True in the config if you want the current contents of the log file not to be erased at startup of the App: -Senthil SS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 10, 2004 5:03 PM

Problem with RollingFileAppender when restarting application

2004-11-10 Thread magdalena . gambietz1
Hello, I'm using the log4net1.2.0-beta8 with following configuration for RollingFileAppender: What I'm trying to do is to restrict the file size to 10MByte and a number of 20, keep a static log fil