Re: 答复: One question about extending log4j

2006-08-09 Thread Javier Gonzalez
On 8/10/06, lvxiaoyi <[EMAIL PROTECTED]> wrote: Thank you very much. My problem is that I have hundreds types, and the line of the log file should be populated from the values of the vo fields. So, I want to implement a custom Appender and a Layout, and the Appender could dynamically switch to d

Re: Different client's log file?

2006-08-09 Thread Javier Gonzalez
On 8/10/06, wolverine my <[EMAIL PROTECTED]> wrote: Hi! I'm actually developing a web application using servlet and so I can use the client's IP address instead of the client.getName()... Ah, a web application... no way to know beforehand every single client's id. mmm, I don't think you can h

答复: One question about extending log4j

2006-08-09 Thread lvxiaoyi
> > Hi all, > > > > I encountered a problem in my requirement. > > > > Several threads will write different type Value Object to an Object Queue, > > and one Log thread will consume these VO in the Queue, and the Log thread > is > > extended from log4J, it will write the VO's value to different log

Re: Different client's log file?

2006-08-09 Thread wolverine my
Hi! I'm actually developing a web application using servlet and so I can use the client's IP address instead of the client.getName()... On 8/10/06, Javier Gonzalez <[EMAIL PROTECTED]> wrote: On 8/9/06, wolverine my <[EMAIL PROTECTED]> wrote: > One or more clients connecting to the server. How

答复: One question about extending log4j

2006-08-09 Thread 吕晓一
-邮件原件- 发件人: Javier Gonzalez [mailto:[EMAIL PROTECTED] 发送时间: 2006年8月10日 12:31 收件人: Log4J Users List 主题: Re: One question about extending log4j On 8/9/06, 吕晓一 <[EMAIL PROTECTED]> wrote: > Hi all, > > I encountered a problem in my requirement. > > Several threads will write different type Va

Re: Different client's log file?

2006-08-09 Thread Javier Gonzalez
On 8/9/06, wolverine my <[EMAIL PROTECTED]> wrote: One or more clients connecting to the server. How can we log the message into different client's log files? E.g. when there are client X, Y, Z connecting to the server. The messages will be logged into X.log, Y.log and Z.log. This will be easi

Re: One question about extending log4j

2006-08-09 Thread Javier Gonzalez
On 8/9/06, 吕晓一 <[EMAIL PROTECTED]> wrote: Hi all, I encountered a problem in my requirement. Several threads will write different type Value Object to an Object Queue, and one Log thread will consume these VO in the Queue, and the Log thread is extended from log4J, it will write the VO's value

One question about extending log4j

2006-08-09 Thread 吕晓一
Hi all, I encountered a problem in my requirement. Several threads will write different type Value Object to an Object Queue, and one Log thread will consume these VO in the Queue, and the Log thread is extended from log4J, it will write the VO's value to different log files according to the VO'

Different client's log file?

2006-08-09 Thread wolverine my
Hi! One or more clients connecting to the server. How can we log the message into different client's log files? E.g. when there are client X, Y, Z connecting to the server. The messages will be logged into X.log, Y.log and Z.log. This will be easier for us to debug when one client encounter pr

Separate appenders based on MDC value

2006-08-09 Thread Levy, Jeremy
I believe this functionality is available in 1.3 can someone point me to an example? j Important Notice to Recipients: It is important that you do not use e-mail to request, authorize or effect the purchase or sale of any security

RE: need help to use chainsaw VFSLogFilePatternReceiver

2006-08-09 Thread Scott Deboy
I'll make that change. Thanks Jake -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 10:49 AM To: Log4J Users List Subject: RE: need help to use chainsaw VFSLogFilePatternReceiver I my experience, putty doesn't add anything to known_hosts.

RE: need help to use chainsaw VFSLogFilePatternReceiver

2006-08-09 Thread Jacob Kjome
I my experience, putty doesn't add anything to known_hosts. I'm not sure about what cygwin does? However, JSCH can do that by setting strict host checking to "no". The following code will add the host + the host key to your known_hosts for you (assuming you've created it already.. it won't be c

RE: Expert help needed for logging in a JavaEE application with Log4j...

2006-08-09 Thread Harp, George
You'll have to do the leg work yourself .. .I am familiar with Jboss' JMX and mx4j (cruisecontrol). Hopefully sun has an initialization file you can modify to load your Mbean. Sun has a tutorial on JMX is the place I would start. It might sound complicated but it is simplier than the current ejb(no

RE: need help to use chainsaw VFSLogFilePatternReceiver

2006-08-09 Thread Scott Deboy
Two things: 1. Make sure you have checked the 'ok to remove security manager' box in the application-wide preferences menu. 2. You need the target server in your known_hosts file (by using putty or cygwin ssh to connect to the server). On windows, this known_hosts file needs to be in the /docume

RE: Expert help needed for logging in a JavaEE application with Log4j...

2006-08-09 Thread Harp, George
No I thought Apache had a J2ee implementation I may be wrong -Original Message- From: Tom Sheehan [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 08, 2006 6:08 PM To: Log4J Users List Subject: RE: Expert help needed for logging in a JavaEE application with Log4j... With respect to Apache

Re: RE: RE: How to ignore the class path in log file

2006-08-09 Thread James Stauffer
Check the documentation for PatternLayout. It tells you how to get everything. On 9 Aug 2006 12:24:15 -, Rajasekhar Dara <[EMAIL PROTECTED]> wrote: Hi Neeraj/Suneel, Excellent... I got the solution and working fine.. Thanks for your help. Also I require how to get the time stamp before t

Re: RE: RE: How to ignore the class path in log file

2006-08-09 Thread Rajasekhar Dara
Hi Neeraj/Suneel, Excellent... I got the solution and working fine.. Thanks for your help. Also I require how to get the time stamp before this line DEBUG com.dcx.gsp.glt.puecompare.PueCompareLogHooks - The line should look like as follows: 2006-07-28 13:08:07,725 [main] DEBUG com.dcx.gsp.glt

RE: RE: How to ignore the class path in log file

2006-08-09 Thread Kumar, Neeraj X \(Credit\)
Just set the pattern as %m%n -Original Message- From: Rajasekhar Dara [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 12:19 PM To: ysuneelreddy Cc: 'Log4J Users List' Subject: Re: RE: How to ignore the class path in log file Hi Suneel, Thanks for your mail.   Hope u didn't

Re: RE: How to ignore the class path in log file

2006-08-09 Thread Rajasekhar Dara
Hi Suneel, Thanks for your mail.   Hope u didn't understand my problem correctly. Currently, I am getting my log file as DEBUG com.dcx.gsp.glt.puecompare.PueCompareLogHooks - DELETED ELEMENT VEHICLE L 608 D My client doesn't want this part DEBUG com.dcx.gsp.glt.puecompare.PueCompareLogHooks

RE: How to ignore the class path in log file

2006-08-09 Thread ysuneelreddy
Hi Put the loge level priority more than debug like error,fatal... What is the error in classpath.. Just mention the logxxx.jar in classpath that's enough... If u have any queries tell me... -Original Message- From: Rajasekhar Dara [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 20

How to ignore the class path in log file

2006-08-09 Thread Rajasekhar Dara
Hello Log4J Users, I have an application, In that my log output is coming as follows DEBUG com.dcx.gsp.glt.puecompare.PueCompareLogHooks - DELETED ELEMENT VEHICLE L 608 D. But I should ignore the class path and log file should look like DELETED ELEMENT VEHICLE L 608 D How to ignore the printing

need help to use chainsaw VFSLogFilePatternReceiver

2006-08-09 Thread Bruno Cosnefroy
Hi, I would like to read remote log files from a jboss server through chainsaw. I installed the dos standalone chainsaw-bundle on a windows xp computer. I've made tests to read a local log file using a LogFilePatternReceiver and it works. Now I try to read the file on a Linux server through SSH