Re: A design problem!

2005-11-02 Thread maarten
Ken wrote: Currently, My program have 1 thread deal with all clients request, ... Maarten's NDC suggestion is what I thought before. The problem is each client will have a series of request, each of them will last variable time. So NDC may overlap the log content. I do not see the proble

Re: A design problem!

2005-11-01 Thread Curt Arnold
On Nov 1, 2005, at 10:40 AM, Jeff Davidson wrote: Ken, Would it be feasible to write to a (SQL) database appender? Later, you would simply query the results for each IP address as needed, instead of forcing the sorting of log records at the time that they are logged. I'm very new to log

RE: A design problem!

2005-11-01 Thread Lazaro Munoz
riginal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 1:34 PM To: log4cxx-user@logging.apache.org Subject: RE: A design problem! Hi! The only thing you have to be careful about with Laz's approach is a failure of the application (program,

RE: A design problem!

2005-11-01 Thread thomas.hawker
l (and workable) solution I could find was to write everything to one [recovery] file and sort it out later. Cheers! Tom Hawker Home408-274-4128 Office 408-576-6591 Mobile 408-835-3643 -Original Message- From: Lazaro Munoz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 1, 2005

RE: A design problem!

2005-11-01 Thread Lazaro Munoz
Five Hanover Sq., 19th Floor New York, NY 10004 212 785-4171 (voice) 212 785-4175 (fax) [EMAIL PROTECTED] www.glsettle-us.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 12:02 PM To: Log4CXX User Subject: RE: A design problem! Ken

RE: A design problem!

2005-11-01 Thread renny . koshy
cc Subject Please respond to [SPAM] RE: A design problem! "Log4CXX User" <[EMAIL PROTECTED]

RE: A design problem!

2005-11-01 Thread Jeff Davidson
ECTED] Sent: Monday, October 31, 2005 6:27 PM To: Log4CXX User Subject: Re: A design problem! Hello, Currently, My program have 1 thread deal with all clients request, have only one appender with "setFile" call changes the log file for each client request. But the problem is when I enab

Re: A design problem!

2005-10-31 Thread Ken
Hello, Currently, My program have 1 thread deal with all clients request, have only one appender with "setFile" call changes the log file for each client request. But the problem is when I enable the log, the cpu usage is a little high, disable the log everything is ok. So I think "setFile" cal

RE: A design problem!

2005-10-31 Thread thomas.hawker
12:19 AM To: Log4CXX User Subject: Re: A design problem! Ken wrote: >Hi, > I would like to use log4cxx in my project. My program is a server will have >many fixed clients connected, nearly 2000 clients. I want to write the >log contents for each client in different file, so I will have

Re: A design problem!

2005-10-31 Thread maarten
Ken wrote: Hi, I would like to use log4cxx in my project. My program is a server will have many fixed clients connected, nearly 2000 clients. I want to write the log contents for each client in different file, so I will have 2000 log files nearly. This will be very easy to trace the data transfe

A design problem!

2005-10-30 Thread Ken
Hi, I would like to use log4cxx in my project. My program is a server will have many fixed clients connected, nearly 2000 clients. I want to write the log contents for each client in different file, so I will have 2000 log files nearly. This will be very easy to trace the data transfered between e