Using Socketappender vs SMB share

2004-12-03 Thread Randy Xu
I'm going to catch all ERROR level statements to a central server. I'm currently deciding between using a SocketAppender vs directing a standard file appender to a Windows network share. We don't forsee a need for 1) platform-independence or 2) the ability to customize and extend SocketServer.

Re: RollingFileAppender does not log to the file

2004-12-03 Thread Marco Herrn
Hi Nicko, There are several different ways of impersonating which have different effects: Are you impersonating the calling web user? i.e. Impersonating a specific user? i.e. Are you running the aspnet_wp.exe as another user? i.e. I am currently using the first method, but will need to change th

Re: Log timestamp in UTC

2004-12-03 Thread Joe Joe
Nicko, thanks for the response. It looks like the 'U' pattern may convert the time from local to universal time before displaying it. The "U" pattern is long date + long time, not really appropriate. So it looks like this is impossible without customising Log4Net (which I want to avoid). Failin

RE: Multiple logs

2004-12-03 Thread Kiran Raja
David, The efficiency of what you are trying to do, depends on whether you are going to have a finite number of threads in your applicaiton or not and if you have a way to perform some processing at the start of every thread. If you are explicitly creating multiple threads for multiple services

Re: Multiple logs

2004-12-03 Thread Tony . Day
Hi David You can use the "Pattern Layout" "Conversion Character" "t" (lower-case). According to the documentation it will output the thread name (if available) or alternatively the thread number. So your config might look similar to the following :

RE: Multiple logs

2004-12-03 Thread Graham Allwood
I don’t know if this helps much but do you know that the thread id can be included in the log output – using the patternlayout component anyway. If doesn’t give you separate output but I suppose you log to a file you could then analyze it further in Excel.     Regards   Graham    

Multiple logs

2004-12-03 Thread GROSPELIER David
Hi,   I want to generate a log file for every thread in my application. My application is multithread and I want to know which thread does which action. Today, I’ve only one log file but the log entries are mixed and can’t find which thread is concerned…   Any help is appreciated!  

Build problem

2004-12-03 Thread Jeremy Grumbach
Hi, I downloaded "log4net-1.2.0-beta8.zip" file and tried to compile it with "build.cmd". I had the following error: "LOG4NET_DIR is D:\Formation Projects\log4net-1.2.0-beta8 BUILD_FILE is D:\Formation Projects\log4net-1.2.0-beta8\log4net.build 'D:\Formation' is not recognized as an internal or ex