1. Change your fileappender layout from simplelayout to xmllayout.
2. This may be due to serialization issues that hopefully will be fixed
with log4j 1.2.15


Scott Deboy
Principal Engineer
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR  97201
Office: 503.224.7496
Direct Line: 503.821.6482
Cell: 503.997.1367
Fax: 503.222.0185
[EMAIL PROTECTED]
www.comotivsystems.com


-----Original Message-----
From: ashish talati [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 12, 2007 12:38 PM
To: Log4J Users List
Subject: Drag and Drop XML file

Hi Scott,
  Thank you very much for your help.
  Its working now.
  Moreover
  1)-> I am trying to load this file again into chainsaw through Drag
and Drop XML file option, but nothing is happened.
  that option keeps disable all time. Can you please tell me what is the
problem??
  I saved my file as .xml
  and
  2)-> how I can use  the filed NDC,class,method,line???? right now all
are null.
        I want to use these field to differentiate between the log
sources it is coming from.
        do you have any idea how I can do that?
   
  Thanks.
  

Scott Deboy <[EMAIL PROTECTED]> wrote:
  Add an appender-ref entry to the root node:






Scott Deboy
Principal Engineer
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR 97201
Office: 503.224.7496
Direct Line: 503.821.6482
Cell: 503.997.1367
Fax: 503.222.0185
[EMAIL PROTECTED]
www.comotivsystems.com

-----Original Message-----
From: ashish talati [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 12, 2007 10:59 AM
To: [email protected]
Subject: chainsaw configuration help

Hi scott,
thank you very much for reply.
I did use the file appender in my chainsaw receiver configuration as
below,



debug="true">

class="org.apache.log4j.RollingFileAppender">


















class="org.apache.log4j.net.SocketReceiver">














It is creating chainsaw file in the C drive but nothing comes in
there.
Please let me know where I did wrong in this??

Thanks.



---------------------------------
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



       
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to