add custom appender separate from log4net dll

2004-12-09 Thread Simon Wallis
Hi, I wrote a custom appender, put it in the Appenders folder and recompiled the log4net dll. Is there a better way to do this? I think my custom log4net.dll is causing me problems and compatibility issues. How can I add a new appender and not modify the core dll? Should it go in it's own proj

RE: Error using RemotingAppender: can't find assembly log4net

2004-12-09 Thread Simon Wallis
Not sure what you mean. The client is not even aware that Remoting is being used since it is all done in log4net, which is a black box to the client. The client works with other appendes, just not the RemotingAppender. In the stack trace there is a message "Cannot find the assembly log4net". Not

Re: webservice

2004-12-09 Thread Tim Weaver
You can do it in the web service's Global.asa application_start event protected void Application_Start(Object sender, EventArgs e) { DOMConfigurator.Configure(); } On Thu, 9 Dec 2004 10:26:55 -0600,

webservice

2004-12-09 Thread Murali Maddali
Hello All, I am trying to use log4net in my webservice which is in C#. My question is, what would be the good place for me to initialize and configure log4net, I don't want to initialize it each time when a web method is called. Any suggestions are more than welcome. All your help is greatly app

RE: Error using RemotingAppender: can't find assembly log4net

2004-12-09 Thread Graham Allwood
Does your client have access to the exception class too? Just a shot in the dark but with remoting the serialized assemblies have to be available to both client and server. -Original Message- From: Simon Wallis [mailto:[EMAIL PROTECTED] Sent: 09 December 2004 15:16 To: Log4NET User Subjec

RE: Error using RemotingAppender: can't find assembly log4net

2004-12-09 Thread Simon Wallis
Now I'm using the example RemotingServer which works perfectly with the example RemotingClient. It just bombs when I use it with my own client. Here is the stack trace from DebugView which also shows the configuration of my client. Again, the server works fine with the sample client, just not my

log4net Serialization

2004-12-09 Thread Dru Sellers
Is there anyway I can use log4net in an application that requires serialization?   I have seen people with issues in the past, and I don't really want to serialize the whole Object Graph but are there any good ideas out there?   Dru --- Outgoing mail is certified Virus Free. Checked by AVG

Re: logging additional fields

2004-12-09 Thread Simon Wallis
Never mind, found the EventId extension code in the extensions directory. Was working with a subset of the code so couldn't find it. Sorry for the bad post! S. -- Original Message -- From: "Simon Wallis" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> D