AW: log4j logs not getting updated

2011-09-15 Thread Stadelmann Josef
The problem is most of the time the same !

process 1 writes to a file and 

process 2 intends to look at the files content, asynchronous, at arbitrary 
point in time and space ! 

a viewer (like you) intends to see what he thinks process 1 should have been 
written meanwhile, at arbitrary point in time and space !

 

So - When does process 1 flush it's buffers to disk in a way that process 2 can 
thereafter read the file and find in the file what process 1 has written.

 

The logger as you defined it uses a buffer of size=32767.

 

In short : why should process 1 (the RollingFileAppender) write to disk if it 
has such a large buffer, before this buffer is full?

 

This buffer gets all the data to be written to the file, AND with this large 
buffer you keep IO rate low, AND you risk that you have to wait long for a 
flush to disk to occur, an update toward the disk as you as viewer expect it.

 

Log4j uses either a Writer.class or the BufferedWriter.class from the JDK !!!

 

And you can find in log4j code FileAppender.java the following snippet !

 

// It does not make sense to have immediate flush and bufferedIO.

if(bufferedIO) {

  setImmediateFlush(false);

}

 

 

So your question must be, after how many characters going to your buffer, the 
Writer or BufferedWriter of your JDK must in fact flush it's buffers as output 
to the disk?

 

Be assured, it will flush latest when the buffer capacity is reached!

 

 

 

 

I suggest, take your buffer size down for a test to about 256 bytes and see how 
your IO rate goes up writing short buffers to disk more frequently. If you are 
unhappy with the IO rate then increase it slowly to what you think is a 
reasonable buffer size for you. The default would be 

 

  /**

   * Determines the size of IO buffer be. Default is 8K. 

   */

  protected int bufferSize = 8*1024;

 

 

Hope this helps

 

Josef

 

 

 

-Ursprüngliche Nachricht-
Von: Umesh Paliwal [mailto:umesh.pali...@vnl.in] 
Gesendet: Mittwoch, 14. September 2011 10:51
An: log4j-user@logging.apache.org
Betreff: log4j logs not getting updated

 

Hi,

 

I have been using log4j 1.2.8 with the following log4j properties :

log4j.rootLogger=WARN, STDOUT

log4j.appender.STDOUT=org.apache.log4j.RollingFileAppender

log4j.appender.STDOUT.MaxBackupIndex=4

log4j.appender.STDOUT.MaxFileSize=10MB

log4j.appender.STDOUT.File=log/Tcp.log

log4j.appender.STDOUT.BufferSize=32768

log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout

 

The logs are not getting updated after a period of time. I need to restart the 
process for the logs to generate again.

 

I have updated the log4j jar to the latest version 1.2.16. But still I have the 
same issue.

 

Please help ...

 

Regards,

Umesh Paliwal

 

 

The information contained in this e-mail is private  confidential and may also 
be legally privileged. If you are not the intended recipient, please notify us, 
preferably by e-mail, and do not read, copy or disclose the contents of this 
message to anyone.



Re: Log4J not generating DEBUG messages

2011-09-15 Thread Jacob Kjome


Ahh  Yes, I didn't notice you had a threshold of INFO in your 
ConsoleAppender.  Simply remove that.  I don't see the point of it given the 
rest of your configuration.


Jake

On Wed, 14 Sep 2011 21:59:19 -0400
 Konduru, Geetha geetha_kond...@medco.com wrote:

Following may work...

appender name=console class=org.apache.log4j.ConsoleAppender

param name=Threshold value=DEBUG/

layout class=org.apache.log4j.PatternLayout

param name=ConversionPattern value=%d{dd/MMM/ 
HH:mm:ss.} %m%n/


/layout

/appender

-Original Message-
From: Néstor Boscán [mailto:nestor.bos...@tcs.com.ve] 
Sent: Wednesday, September 14, 2011 6:25 PM

To: Log4J Users List
Subject: Re: Log4J not generating DEBUG messages



That was an example. My original package is something like

ve.com.company.app.

That's whats inside package and my class is inside that package.



Regards,



Néstor Boscán



On Wed, Sep 14, 2011 at 5:36 PM, Jacob Kjome h...@visi.com wrote:








package is an odd logger name.  How do you name your logger(s)?  You



stated the following in your original message: ...so that the classes in my



package  What package?  A package named package?  Name the logger



after the actual package name, such as com.mycompany, rather than the



likely non-existent package package and you will get the results you



expect.







Jake











On Wed, 14 Sep 2011 16:44:21 -0430



  Néstor Boscán nestor.bos...@tcs.com.ve wrote:







This is the log4j.xml file:







?xml version=1.0 encoding=UTF-8?



!DOCTYPE log4j:configuration SYSTEM log4j.dtd


log4j:configuration 
xmlns:log4j=http://jakarta.**apache.org/log4j/http://jakarta.apache.org/log4j/







  debug=false



 appender name=console class=org.apache.log4j.**ConsoleAppender



 param name=Threshold value=INFO/



 layout class=org.apache.log4j.**PatternLayout



 param name=ConversionPattern value=%d{dd/MMM/



HH:mm:ss.} %m%n/



 /layout



 /appender



 logger name=package additivity=false



 level value=all/



 appender-ref ref=console/



 /logger



 root



 level value=error/



 appender-ref ref=console/



 /root



/log4j:configuration







Regards,







Néstor Boscán







On Wed, Sep 14, 2011 at 10:37 AM, Konduru, Geetha



geetha_kond...@medco.com**wrote:







  Would you please send the configuration...







-Original Message-


From: Néstor Boscán 
[mailto:nestor.bos...@tcs.com.**venestor.bos...@tcs.com.ve



]



Sent: Wednesday, September 14, 2011 11:06 AM



To: log4j-user@logging.apache.org



Subject: Log4J not generating DEBUG messages







Hi







I have a log4j.xml file configured so that the classes in my package



should



generate ALL messages: When I create a simple test class and log info,



warn



and error it works but all debug messages are not generated.







Any ideas?







Regards,







Néstor Boscán











**



This e-mail message and any attachments contain confidential information



from Medco. If you are not the intended recipient, you are hereby



notified



that disclosure, printing, copying, distribution, or the taking of any



action in reliance on the contents of this electronic information is



strictly prohibited. If you have received this e-mail message in error,



please immediately notify the sender by reply message and then delete the



electronic message and any attachments.







--**--**



-


To unsubscribe, e-mail: 
log4j-user-unsubscribe@**logging.apache.orglog4j-user-unsubscr...@logging.apache.org


For additional commands, e-mail: 
log4j-user-help@logging.**apache.orglog4j-user-h...@logging.apache.org



















--**--**-


To unsubscribe, e-mail: 
log4j-user-unsubscribe@**logging.apache.orglog4j-user-unsubscr...@logging.apache.org


For additional commands, e-mail: 
log4j-user-help@logging.**apache.orglog4j-user-h...@logging.apache.org










**
This e-mail message and any attachments contain confidential information 
from Medco. If you are not the intended recipient, you are hereby notified 
that disclosure, printing, copying, distribution, or the taking of any action 
in reliance on the contents of this electronic information is strictly 
prohibited. If you have received this e-mail message in error, please 
immediately notify the sender by reply message and then delete the electronic 
message and any attachments.



-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: 

Re: log4j----Edit the event received

2011-09-15 Thread Scott Deboy
Chainsaw includes those jars in its standalone zip.

The extras companion has been released:
http://logging.apache.org/log4j/companions/extras/download.html

The receivers and component companions have not yet been officially
released, so you would have to build them from source if you didn't use the
jars from the chainsaw zip.

http://logging.apache.org/log4j/companions/component/index.html
http://logging.apache.org/log4j/companions/receivers/index.html

Scott

On Wed, Sep 14, 2011 at 7:25 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 Where can I download the receivers companion jar, component companion
 jar  and extra companion jar.

 Thank U,
 VGSS


 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Wednesday, September 14, 2011 4:50 PM
 To: Log4J Users List
 Subject: Re: log4jEdit the event received

 There are only three unique attributes provided for socket-received
 events:
 hostname
 remoteSourceInfo
 application (if set on appender)

 If you can't leverage application and would like to use additional
 properties to identify instances, there is a mechanism that supports
 that
 (via configuration): RewriteAppender

 RewriteAppender allows you to modify event attributes (or add
 properties)
 before sending the event to the appender.

 A RewriteAppender expects a nested appender (your SocketAppender) and a
 RewritePolicy.

 You can use a PropertyRewritePolicy as a quick way to add custom
 properties
 to each event.

 This requires you to add the receivers companion jar and probably
 component
 companion jar (not sure about extras companion) to your appender side.

 http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/
 log4j/rewrite/RewriteAppender.html
 http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/
 log4j/rewrite/RewritePolicy.html

 Example configuration (didn't run this, but it should be correct) that
 will
 add two properties to each event, somepropertyname1 and
 somepropertyname2.

 appender name=rewrite
 class=org.apache.log4j.rewrite.RewriteAppender
appender name=socket class=org.apache.log4j.net.SocketAppender
  param name=Port value=12346/
  param name=RemoteHost value=localhost/
  param name=Application value=app1/
  param name=ReconnectionDelay value=6/
  param name=Threshold value=ALL/
/appender
RewritePolicy name=propertyPolicy
 class=org.apache.log4j.rewrite.PropertyRewritePolicy
param name=properties
 value=somepropertyname1=somepropertyvalue1,somepropertyname2=someproper
 tyvalue2
/RewritePolicy
 /appender

 Scott


 On Wed, Sep 14, 2011 at 1:29 PM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  Actually  issue is , We have 100 server instances running on 20
  different machines (5 instances per machine).
 
  We want to merge and see them,
 
  When I merge , seeing  log4j.remoteSourceInfo   I can say particular
  logging event is generated by server instances running on one
 particular
  machine, Is there a way to figure out which particular Instance out of
 5
  instances running on that particular machine.
 
  Thank u,
  VGSS
 
  -Original Message-
  From: Scott Deboy [mailto:scott.de...@gmail.com]
  Sent: Wednesday, September 14, 2011 4:15 PM
  To: Log4J Users List
  Subject: Re: log4jEdit the event received
 
  The SocketReceiver adds two properties to each event:
  hostname
  log4j.remoteSourceInfo
 
  With the developer snapshot of Chainsaw you should see those as
  individual
  columns in the table.  If they aren't displayed by default you can
  enable
  them via the tab preferences menu (select Columns).
 
  Scott
 
  On Wed, Sep 14, 2011 at 12:38 PM, Konduru, Geetha
  geetha_kond...@medco.comwrote:
 
   Hi,
  
  
  
What I am looking for is, every event received by SocketAppender,
  even
   before it send to remote machine, it must append  to the event(on
  which
   log4j is running).
  
  
  
Can any one please tell me a solution for this.
  
  
  
   Example: if application(running on machine HOSTNAME) logs message I
  am
   a Logging event, than SOCKET APPENDER must send following to REMOTE
   machine(or SOCKET RECEIVER on Remote machine should receive
 following
  as
   log message).
  
  
  
   HOSTNAME:I am a Logging event
  
  
  
  
  
  
  
  
  
  
  
  
  
   Thank U,
  
   VGSS
  
  
 **
   This e-mail message and any attachments contain confidential
  information
   from Medco. If you are not the intended recipient, you are hereby
  notified
   that disclosure, printing, copying, distribution, or the taking of
 any
   action in reliance on the contents of this electronic information is
   strictly prohibited. If you have received this e-mail message in
  error,
   please immediately notify the sender by reply message and then
 delete
  the
   electronic message and any attachments.
  
 
  

RE: log4j----Edit the event received

2011-09-15 Thread Konduru, Geetha
I see following WARNINGS

 

log4j:WARN Continuable parsing error 19 and column 97

log4j:WARN Element type rewritePolicy must be declared.

log4j:WARN Continuable parsing error 22 and column 12

log4j:WARN The content of element type appender must match
(errorHandler?,param*,rollingPolicy?,triggeringPolicy?,connectionSource
?,layout?,filter*,appender-ref*).

 

 

Following is config

 

appender name=rewrite
class=org.apache.log4j.rewrite.RewriteAppender

appender name=socket class=org.apache.log4j.net.SocketAppender

  param name=Port value=12346/

  param name=RemoteHost value=localhost/

  param name=Application value=app1/

  param name=ReconnectionDelay value=6/

  param name=Threshold value=ALL/

/appender

rewritePolicy name=propertyPolicy
class=org.apache.log4j.rewrite.PropertyRewritePolicy This is line
number 19

param name=properties value=logFile=server2.log/

/rewritePolicy

/appenderThis is line number 22

 

 

I included following jars( which in chainsaw) in my classpath

  1.extras

  2. receivers

  3.components

 

 

 

Thanks a Lot

VGSS

 

 

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Thursday, September 15, 2011 12:30 PM
To: Log4J Users List
Subject: Re: log4jEdit the event received

 

Chainsaw includes those jars in its standalone zip.

 

The extras companion has been released:

http://logging.apache.org/log4j/companions/extras/download.html

 

The receivers and component companions have not yet been officially

released, so you would have to build them from source if you didn't use
the

jars from the chainsaw zip.

 

http://logging.apache.org/log4j/companions/component/index.html

http://logging.apache.org/log4j/companions/receivers/index.html

 

Scott

 

On Wed, Sep 14, 2011 at 7:25 PM, Konduru, Geetha

geetha_kond...@medco.comwrote:

 

 Where can I download the receivers companion jar, component companion

 jar  and extra companion jar.

 

 Thank U,

 VGSS

 

 

 -Original Message-

 From: Scott Deboy [mailto:scott.de...@gmail.com]

 Sent: Wednesday, September 14, 2011 4:50 PM

 To: Log4J Users List

 Subject: Re: log4jEdit the event received

 

 There are only three unique attributes provided for socket-received

 events:

 hostname

 remoteSourceInfo

 application (if set on appender)

 

 If you can't leverage application and would like to use additional

 properties to identify instances, there is a mechanism that supports

 that

 (via configuration): RewriteAppender

 

 RewriteAppender allows you to modify event attributes (or add

 properties)

 before sending the event to the appender.

 

 A RewriteAppender expects a nested appender (your SocketAppender) and
a

 RewritePolicy.

 

 You can use a PropertyRewritePolicy as a quick way to add custom

 properties

 to each event.

 

 This requires you to add the receivers companion jar and probably

 component

 companion jar (not sure about extras companion) to your appender side.

 


http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/

 log4j/rewrite/RewriteAppender.html


http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/

 log4j/rewrite/RewritePolicy.html

 

 Example configuration (didn't run this, but it should be correct) that

 will

 add two properties to each event, somepropertyname1 and

 somepropertyname2.

 

 appender name=rewrite

 class=org.apache.log4j.rewrite.RewriteAppender

appender name=socket
class=org.apache.log4j.net.SocketAppender

  param name=Port value=12346/

  param name=RemoteHost value=localhost/

  param name=Application value=app1/

  param name=ReconnectionDelay value=6/

  param name=Threshold value=ALL/

/appender

RewritePolicy name=propertyPolicy

 class=org.apache.log4j.rewrite.PropertyRewritePolicy

param name=properties


value=somepropertyname1=somepropertyvalue1,somepropertyname2=someproper

 tyvalue2

/RewritePolicy

 /appender

 

 Scott

 

 

 On Wed, Sep 14, 2011 at 1:29 PM, Konduru, Geetha

 geetha_kond...@medco.comwrote:

 

  Actually  issue is , We have 100 server instances running on 20

  different machines (5 instances per machine).

 

  We want to merge and see them,

 

  When I merge , seeing  log4j.remoteSourceInfo   I can say
particular

  logging event is generated by server instances running on one

 particular

  machine, Is there a way to figure out which particular Instance out
of

 5

  instances running on that particular machine.

 

  Thank u,

  VGSS

 

  -Original Message-

  From: Scott Deboy [mailto:scott.de...@gmail.com]

  Sent: Wednesday, September 14, 2011 4:15 PM

  To: Log4J Users List

  Subject: Re: log4jEdit the event received

 

  The SocketReceiver adds two properties to each event:

  hostname

  log4j.remoteSourceInfo

 

  With the developer snapshot of Chainsaw you should see those as

  individual

  columns 

RE: log4j----Edit the event received

2011-09-15 Thread Konduru, Geetha
Where can I find XMLschema file for log4j XML configuration file


Thank U,
VGSS

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Wednesday, September 14, 2011 4:51 PM
To: Log4J Users List
Subject: Re: log4jEdit the event received

Missed the end param on the nested properties param...not sure about
case of
RewritePolicy node name..may be rewritePolicy.

appender name=rewrite
class=org.apache.log4j.rewrite.RewriteAppender
appender name=socket class=org.apache.log4j.net.SocketAppender
  param name=Port value=12346/
  param name=RemoteHost value=localhost/
  param name=Application value=app1/
  param name=ReconnectionDelay value=6/
  param name=Threshold value=ALL/
/appender
RewritePolicy name=propertyPolicy
class=org.apache.log4j.rewrite.PropertyRewritePolicy
param name=properties
value=somepropertyname1=somepropertyvalue1,somepropertyname2=someproper
tyvalue2/
/RewritePolicy
/appender


On Wed, Sep 14, 2011 at 1:48 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 Thank U...

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Wednesday, September 14, 2011 4:31 PM
 To: Log4J Users List
 Subject: Re: log4jEdit the event received

 remoteSourceInfo contains the connected port:

 hostName = socket.getInetAddress().getHostName();
 remoteInfo = hostName + : + socket.getPort();

 On Wed, Sep 14, 2011 at 1:23 PM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  yes, I got them
 
  how are hostname and  log4j.remoteSourceInfo  different from
each
  other
 
  thank U
  VGSS
 
 
  -Original Message-
  From: Scott Deboy [mailto:scott.de...@gmail.com]
  Sent: Wednesday, September 14, 2011 4:15 PM
  To: Log4J Users List
  Subject: Re: log4jEdit the event received
 
  The SocketReceiver adds two properties to each event:
  hostname
  log4j.remoteSourceInfo
 
  With the developer snapshot of Chainsaw you should see those as
  individual
  columns in the table.  If they aren't displayed by default you can
  enable
  them via the tab preferences menu (select Columns).
 
  Scott
 
  On Wed, Sep 14, 2011 at 12:38 PM, Konduru, Geetha
  geetha_kond...@medco.comwrote:
 
   Hi,
  
  
  
What I am looking for is, every event received by SocketAppender,
  even
   before it send to remote machine, it must append  to the event(on
  which
   log4j is running).
  
  
  
Can any one please tell me a solution for this.
  
  
  
   Example: if application(running on machine HOSTNAME) logs message
I
  am
   a Logging event, than SOCKET APPENDER must send following to
REMOTE
   machine(or SOCKET RECEIVER on Remote machine should receive
 following
  as
   log message).
  
  
  
   HOSTNAME:I am a Logging event
  
  
  
  
  
  
  
  
  
  
  
  
  
   Thank U,
  
   VGSS
  
  
 **
   This e-mail message and any attachments contain confidential
  information
   from Medco. If you are not the intended recipient, you are hereby
  notified
   that disclosure, printing, copying, distribution, or the taking of
 any
   action in reliance on the contents of this electronic information
is
   strictly prohibited. If you have received this e-mail message in
  error,
   please immediately notify the sender by reply message and then
 delete
  the
   electronic message and any attachments.
  
 
 
**
  This e-mail message and any attachments contain confidential
 information
  from Medco. If you are not the intended recipient, you are hereby
 notified
  that disclosure, printing, copying, distribution, or the taking of
any
  action in reliance on the contents of this electronic information is
  strictly prohibited. If you have received this e-mail message in
 error,
  please immediately notify the sender by reply message and then
delete
 the
  electronic message and any attachments.
 
 
-
  To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
  For additional commands, e-mail: log4j-user-h...@logging.apache.org
 
 

 **
 This e-mail message and any attachments contain confidential
information
 from Medco. If you are not the intended recipient, you are hereby
notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in
error,
 please immediately notify the sender by reply message and then delete
the
 electronic message and any attachments.

 -
 To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
 For additional commands, e-mail: log4j-user-h...@logging.apache.org




RE: log4j----Edit the event received

2011-09-15 Thread Konduru, Geetha
log4j: Trying to find [server2Rewritelog4j.xml] using context
classloader sun.misc.Launcher$AppClassLoader@601bb1.
log4j: Using URL
[file:/C:/EclipseWorkSpace/GemfireTest/bin/server2Rewritelog4j.xml] for
automatic log4j configuration.
log4j: Preferred configurator class:
org.apache.log4j.xml.DOMConfigurator
log4j: System property is :null
log4j: Standard DocumentBuilderFactory search succeded.
log4j: DocumentBuilderFactory is:
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
log4j:WARN Continuable parsing error 19 and column 97
log4j:WARN Element type rewritePolicy must be declared.
log4j:WARN Continuable parsing error 22 and column 12
log4j:WARN The content of element type appender must match
(errorHandler?,param*,rollingPolicy?,triggeringPolicy?,connectionSource
?,layout?,filter*,appender-ref*).
log4j: debug attribute= null.
log4j: Ignoring debug attribute.
log4j: reset attribute= false.
log4j: Threshold =null.
log4j: Level value for root is  [debug].
log4j: root level set to DEBUG
log4j: Class name: [org.apache.log4j.ConsoleAppender]
log4j: Parsing layout of class: org.apache.log4j.PatternLayout
log4j: Setting property [conversionPattern] to [[%d{ISO8601} %t %c]
%m%n].
log4j: Adding appender named [CA] to category [root]

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Thursday, September 15, 2011 1:54 PM
To: Log4J Users List
Subject: Re: log4jEdit the event received

There is a DTD for core elements but alternate elements can be added
(like
rewritepolicy)...you won't find rewritepolicy in the DTD.

Can you add -Dlog4j.debug=true to your appender-side java command, and
paste
the output?

Thanks

Scott

On Thu, Sep 15, 2011 at 10:38 AM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 Where can I find XMLschema file for log4j XML configuration file


 Thank U,
 VGSS

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Wednesday, September 14, 2011 4:51 PM
 To: Log4J Users List
 Subject: Re: log4jEdit the event received

 Missed the end param on the nested properties param...not sure about
 case of
 RewritePolicy node name..may be rewritePolicy.

 appender name=rewrite
 class=org.apache.log4j.rewrite.RewriteAppender
appender name=socket
class=org.apache.log4j.net.SocketAppender
  param name=Port value=12346/
  param name=RemoteHost value=localhost/
  param name=Application value=app1/
  param name=ReconnectionDelay value=6/
  param name=Threshold value=ALL/
/appender
RewritePolicy name=propertyPolicy
 class=org.apache.log4j.rewrite.PropertyRewritePolicy
param name=properties

value=somepropertyname1=somepropertyvalue1,somepropertyname2=someproper
 tyvalue2/
/RewritePolicy
 /appender


 On Wed, Sep 14, 2011 at 1:48 PM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  Thank U...
 
  -Original Message-
  From: Scott Deboy [mailto:scott.de...@gmail.com]
  Sent: Wednesday, September 14, 2011 4:31 PM
  To: Log4J Users List
  Subject: Re: log4jEdit the event received
 
  remoteSourceInfo contains the connected port:
 
  hostName = socket.getInetAddress().getHostName();
  remoteInfo = hostName + : + socket.getPort();
 
  On Wed, Sep 14, 2011 at 1:23 PM, Konduru, Geetha
  geetha_kond...@medco.comwrote:
 
   yes, I got them
  
   how are hostname and  log4j.remoteSourceInfo  different from
 each
   other
  
   thank U
   VGSS
  
  
   -Original Message-
   From: Scott Deboy [mailto:scott.de...@gmail.com]
   Sent: Wednesday, September 14, 2011 4:15 PM
   To: Log4J Users List
   Subject: Re: log4jEdit the event received
  
   The SocketReceiver adds two properties to each event:
   hostname
   log4j.remoteSourceInfo
  
   With the developer snapshot of Chainsaw you should see those as
   individual
   columns in the table.  If they aren't displayed by default you can
   enable
   them via the tab preferences menu (select Columns).
  
   Scott
  
   On Wed, Sep 14, 2011 at 12:38 PM, Konduru, Geetha
   geetha_kond...@medco.comwrote:
  
Hi,
   
   
   
 What I am looking for is, every event received by
SocketAppender,
   even
before it send to remote machine, it must append  to the
event(on
   which
log4j is running).
   
   
   
 Can any one please tell me a solution for this.
   
   
   
Example: if application(running on machine HOSTNAME) logs
message
 I
   am
a Logging event, than SOCKET APPENDER must send following to
 REMOTE
machine(or SOCKET RECEIVER on Remote machine should receive
  following
   as
log message).
   
   
   
HOSTNAME:I am a Logging event
   
   
   
   
   
   
   
   
   
   
   
   
   
Thank U,
   
VGSS
   
   
 
**
This e-mail message and any attachments contain confidential
   information
from Medco. If you are not the intended recipient, you are
hereby
   notified
that disclosure, printing, 

Re: Chainsaw-timestap

2011-09-15 Thread Scott Deboy
Most layout and display configuration settings are tab-specific.  Check the
tab preferences dialog.

On Thu, Sep 15, 2011 at 11:30 AM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 **

 After I click Application wide preferences , I only see following windows.
 

 CurrenTab is all the time dislabled.

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 

 ** **

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 2:24 PM
 To: **Log4J Users List**
 Subject: Re: Chainsaw-timestap

 ** **

 There are a lot of view-related settings - see the view, application-wide*
 ***

 preferences menu option and the current tab, tab preferences menu option.*
 ***

 Under tab preferences, you can change the display of the timestamp.  You
 can

 also toggle between two formats by right-clicking on the timestamp header
 in

 the table.

 ** **

 Scott

 ** **

 On Thu, Sep 15, 2011 at 11:09 AM, Konduru, Geetha

 geetha_kond...@medco.comwrote:

 ** **

  Hi,

 ** **

 ** **

 ** **

 ** **

 ** **

   In chainsaw timestamp column is just giving  hh:mm:ss,  what should I**
 **

  do to even see the date (/mm/dd).

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

  Thank u,

 ** **

  VGSS

 ** **

  
 **

  This e-mail message and any attachments contain confidential information
 

  from Medco. If you are not the intended recipient, you are hereby
 notified

  that disclosure, printing, copying, distribution, or the taking of any**
 **

  action in reliance on the contents of this electronic information is

  strictly prohibited. If you have received this e-mail message in error,*
 ***

  please immediately notify the sender by reply message and then delete the
 

  electronic message and any attachments.

 ** **
  --
 This e-mail message and any attachments contain confidential information
 from Medco. If you are not the intended recipient, you are hereby notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in error,
 please immediately notify the sender by reply message and then delete the
 electronic message and any attachments.



RE: Chainsaw-timestap

2011-09-15 Thread Konduru, Geetha
How to get tab preference dialog???

Thank U,
VGSS

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Thursday, September 15, 2011 2:35 PM
To: Log4J Users List
Subject: Re: Chainsaw-timestap

Most layout and display configuration settings are tab-specific.  Check
the
tab preferences dialog.

On Thu, Sep 15, 2011 at 11:30 AM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 **

 After I click Application wide preferences , I only see following
windows.
 

 CurrenTab is all the time dislabled.

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 

 ** **

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 2:24 PM
 To: **Log4J Users List**
 Subject: Re: Chainsaw-timestap

 ** **

 There are a lot of view-related settings - see the view,
application-wide*
 ***

 preferences menu option and the current tab, tab preferences menu
option.*
 ***

 Under tab preferences, you can change the display of the timestamp.
You
 can

 also toggle between two formats by right-clicking on the timestamp
header
 in

 the table.

 ** **

 Scott

 ** **

 On Thu, Sep 15, 2011 at 11:09 AM, Konduru, Geetha

 geetha_kond...@medco.comwrote:

 ** **

  Hi,

 ** **

 ** **

 ** **

 ** **

 ** **

   In chainsaw timestamp column is just giving  hh:mm:ss,  what should
I**
 **

  do to even see the date (/mm/dd).

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

  Thank u,

 ** **

  VGSS

 ** **

 

 **

  This e-mail message and any attachments contain confidential
information
 

  from Medco. If you are not the intended recipient, you are hereby
 notified

  that disclosure, printing, copying, distribution, or the taking of
any**
 **

  action in reliance on the contents of this electronic information
is

  strictly prohibited. If you have received this e-mail message in
error,*
 ***

  please immediately notify the sender by reply message and then
delete the
 

  electronic message and any attachments.

 ** **
  --
 This e-mail message and any attachments contain confidential
information
 from Medco. If you are not the intended recipient, you are hereby
notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in
error,
 please immediately notify the sender by reply message and then delete
the
 electronic message and any attachments.


**
This e-mail message and any attachments contain confidential information from 
Medco. If you are not the intended recipient, you are hereby notified that 
disclosure, printing, copying, distribution, or the taking of any action in 
reliance on the contents of this electronic information is strictly prohibited. 
If you have received this e-mail message in error, please immediately notify 
the sender by reply message and then delete the electronic message and any 
attachments.

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



RE: Chainsaw-timestap

2011-09-15 Thread Konduru, Geetha
I got that.
Clicked the timestamp column..

Thanks a lot !!!

-Original Message-
From: Konduru, Geetha [mailto:geetha_kond...@medco.com] 
Sent: Thursday, September 15, 2011 2:39 PM
To: Log4J Users List
Subject: RE: Chainsaw-timestap

How to get tab preference dialog???

Thank U,
VGSS

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Thursday, September 15, 2011 2:35 PM
To: Log4J Users List
Subject: Re: Chainsaw-timestap

Most layout and display configuration settings are tab-specific.  Check
the
tab preferences dialog.

On Thu, Sep 15, 2011 at 11:30 AM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 **

 After I click Application wide preferences , I only see following
windows.
 

 CurrenTab is all the time dislabled.

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 

 ** **

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 2:24 PM
 To: **Log4J Users List**
 Subject: Re: Chainsaw-timestap

 ** **

 There are a lot of view-related settings - see the view,
application-wide*
 ***

 preferences menu option and the current tab, tab preferences menu
option.*
 ***

 Under tab preferences, you can change the display of the timestamp.
You
 can

 also toggle between two formats by right-clicking on the timestamp
header
 in

 the table.

 ** **

 Scott

 ** **

 On Thu, Sep 15, 2011 at 11:09 AM, Konduru, Geetha

 geetha_kond...@medco.comwrote:

 ** **

  Hi,

 ** **

 ** **

 ** **

 ** **

 ** **

   In chainsaw timestamp column is just giving  hh:mm:ss,  what should
I**
 **

  do to even see the date (/mm/dd).

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

 ** **

  Thank u,

 ** **

  VGSS

 ** **

 

 **

  This e-mail message and any attachments contain confidential
information
 

  from Medco. If you are not the intended recipient, you are hereby
 notified

  that disclosure, printing, copying, distribution, or the taking of
any**
 **

  action in reliance on the contents of this electronic information
is

  strictly prohibited. If you have received this e-mail message in
error,*
 ***

  please immediately notify the sender by reply message and then
delete the
 

  electronic message and any attachments.

 ** **
  --
 This e-mail message and any attachments contain confidential
information
 from Medco. If you are not the intended recipient, you are hereby
notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in
error,
 please immediately notify the sender by reply message and then delete
the
 electronic message and any attachments.


**
This e-mail message and any attachments contain confidential information
from Medco. If you are not the intended recipient, you are hereby
notified that disclosure, printing, copying, distribution, or the taking
of any action in reliance on the contents of this electronic information
is strictly prohibited. If you have received this e-mail message in
error, please immediately notify the sender by reply message and then
delete the electronic message and any attachments.

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org

**
This e-mail message and any attachments contain confidential information from 
Medco. If you are not the intended recipient, you are hereby notified that 
disclosure, printing, copying, distribution, or the taking of any action in 
reliance on the contents of this electronic information is strictly prohibited. 
If you have received this e-mail message in error, please immediately notify 
the sender by reply message and then delete the electronic message and any 
attachments.

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



Re: Chainsaw-timestap

2011-09-15 Thread Scott Deboy
Right-click in the table and select tab preferences, or use the 'current
tab, tab preferences' menu item.

On Thu, Sep 15, 2011 at 11:39 AM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 How to get tab preference dialog???

 Thank U,
 VGSS

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 2:35 PM
 To: Log4J Users List
 Subject: Re: Chainsaw-timestap

 Most layout and display configuration settings are tab-specific.  Check
 the
 tab preferences dialog.

 On Thu, Sep 15, 2011 at 11:30 AM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  **
 
  After I click Application wide preferences , I only see following
 windows.
  
 
  CurrenTab is all the time dislabled.
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  
 
  ** **
 
  -Original Message-
  From: Scott Deboy [mailto:scott.de...@gmail.com]
  Sent: Thursday, September 15, 2011 2:24 PM
  To: **Log4J Users List**
  Subject: Re: Chainsaw-timestap
 
  ** **
 
  There are a lot of view-related settings - see the view,
 application-wide*
  ***
 
  preferences menu option and the current tab, tab preferences menu
 option.*
  ***
 
  Under tab preferences, you can change the display of the timestamp.
 You
  can
 
  also toggle between two formats by right-clicking on the timestamp
 header
  in
 
  the table.
 
  ** **
 
  Scott
 
  ** **
 
  On Thu, Sep 15, 2011 at 11:09 AM, Konduru, Geetha
 
  geetha_kond...@medco.comwrote:
 
  ** **
 
   Hi,
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
In chainsaw timestamp column is just giving  hh:mm:ss,  what should
 I**
  **
 
   do to even see the date (/mm/dd).
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
  ** **
 
   Thank u,
 
  ** **
 
   VGSS
 
  ** **
 
  
 
  **
 
   This e-mail message and any attachments contain confidential
 information
  
 
   from Medco. If you are not the intended recipient, you are hereby
  notified
 
   that disclosure, printing, copying, distribution, or the taking of
 any**
  **
 
   action in reliance on the contents of this electronic information
 is
 
   strictly prohibited. If you have received this e-mail message in
 error,*
  ***
 
   please immediately notify the sender by reply message and then
 delete the
  
 
   electronic message and any attachments.
 
  ** **
   --
  This e-mail message and any attachments contain confidential
 information
  from Medco. If you are not the intended recipient, you are hereby
 notified
  that disclosure, printing, copying, distribution, or the taking of any
  action in reliance on the contents of this electronic information is
  strictly prohibited. If you have received this e-mail message in
 error,
  please immediately notify the sender by reply message and then delete
 the
  electronic message and any attachments.
 

 **
 This e-mail message and any attachments contain confidential information
 from Medco. If you are not the intended recipient, you are hereby notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in error,
 please immediately notify the sender by reply message and then delete the
 electronic message and any attachments.

 -
 To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
 For additional commands, e-mail: log4j-user-h...@logging.apache.org




Chainsaw Events

2011-09-15 Thread Konduru, Geetha
1.How many events  will it store?

2..Using chain saw can we store all events received in a file.

 

 

Thank U,

Vgss

**
This e-mail message and any attachments contain confidential information from 
Medco. If you are not the intended recipient, you are hereby notified that 
disclosure, printing, copying, distribution, or the taking of any action in 
reliance on the contents of this electronic information is strictly prohibited. 
If you have received this e-mail message in error, please immediately notify 
the sender by reply message and then delete the electronic message and any 
attachments.


Re: Chainsaw Events

2011-09-15 Thread Scott Deboy
Chainsaw uses a cyclic buffer by default, which means as new events are
received, old ones are removed from the table.  That cyclic buffer size is
global, but you can toggle between cyclic and non-cyclic and that is a
tab-specific persistnet setting.  Once you hit the cyclic buffer limit, more
CPU will be used to drop old events.

Chainsaw holds all events in memory, so modify the -Xmx and -Xms VM args to
support bigger files if you want cyclic buffering disabled.

Chainsaw can store events received from a file - use the file, load chainsaw
configuration menu option and then either choose to have it read your
log4j.xml/log4j.properties fileappender configuration, or use the 'process a
log file' option to build the LogFilePatternReceiver configuration yourself.


Scott

On Thu, Sep 15, 2011 at 12:24 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 1.How many events  will it store?

 2..Using chain saw can we store all events received in a file.





 Thank U,

 Vgss

 **
 This e-mail message and any attachments contain confidential information
 from Medco. If you are not the intended recipient, you are hereby notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in error,
 please immediately notify the sender by reply message and then delete the
 electronic message and any attachments.



RE: Chainsaw Events

2011-09-15 Thread Konduru, Geetha
Sorry , my question is.

Can chainsaw store all evenet it is receiving from SocketReceiver in a
file (which can be archived)

Thank u,
Vgss

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Thursday, September 15, 2011 3:30 PM
To: Log4J Users List
Subject: Re: Chainsaw Events

Chainsaw uses a cyclic buffer by default, which means as new events are
received, old ones are removed from the table.  That cyclic buffer size
is
global, but you can toggle between cyclic and non-cyclic and that is a
tab-specific persistnet setting.  Once you hit the cyclic buffer limit,
more
CPU will be used to drop old events.

Chainsaw holds all events in memory, so modify the -Xmx and -Xms VM args
to
support bigger files if you want cyclic buffering disabled.

Chainsaw can store events received from a file - use the file, load
chainsaw
configuration menu option and then either choose to have it read your
log4j.xml/log4j.properties fileappender configuration, or use the
'process a
log file' option to build the LogFilePatternReceiver configuration
yourself.


Scott

On Thu, Sep 15, 2011 at 12:24 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 1.How many events  will it store?

 2..Using chain saw can we store all events received in a file.





 Thank U,

 Vgss

 **
 This e-mail message and any attachments contain confidential
information
 from Medco. If you are not the intended recipient, you are hereby
notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in
error,
 please immediately notify the sender by reply message and then delete
the
 electronic message and any attachments.


**
This e-mail message and any attachments contain confidential information from 
Medco. If you are not the intended recipient, you are hereby notified that 
disclosure, printing, copying, distribution, or the taking of any action in 
reliance on the contents of this electronic information is strictly prohibited. 
If you have received this e-mail message in error, please immediately notify 
the sender by reply message and then delete the electronic message and any 
attachments.

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



Re: Chainsaw Events

2011-09-15 Thread Scott Deboy
Yes...use the File, Save events as menu option.

The events displayed on screen (whatever is not filtered out) plus any
annotations you provide (by editing the 'marker' column) are exported as
events using log4j's XML format.

If you use a .zip extension on the file name it will zip the xml file.

Scott

On Thu, Sep 15, 2011 at 1:23 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 Sorry , my question is.

 Can chainsaw store all evenet it is receiving from SocketReceiver in a
 file (which can be archived)

 Thank u,
 Vgss

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 3:30 PM
 To: Log4J Users List
 Subject: Re: Chainsaw Events

 Chainsaw uses a cyclic buffer by default, which means as new events are
 received, old ones are removed from the table.  That cyclic buffer size
 is
 global, but you can toggle between cyclic and non-cyclic and that is a
 tab-specific persistnet setting.  Once you hit the cyclic buffer limit,
 more
 CPU will be used to drop old events.

 Chainsaw holds all events in memory, so modify the -Xmx and -Xms VM args
 to
 support bigger files if you want cyclic buffering disabled.

 Chainsaw can store events received from a file - use the file, load
 chainsaw
 configuration menu option and then either choose to have it read your
 log4j.xml/log4j.properties fileappender configuration, or use the
 'process a
 log file' option to build the LogFilePatternReceiver configuration
 yourself.


 Scott

 On Thu, Sep 15, 2011 at 12:24 PM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  1.How many events  will it store?
 
  2..Using chain saw can we store all events received in a file.
 
 
 
 
 
  Thank U,
 
  Vgss
 
  **
  This e-mail message and any attachments contain confidential
 information
  from Medco. If you are not the intended recipient, you are hereby
 notified
  that disclosure, printing, copying, distribution, or the taking of any
  action in reliance on the contents of this electronic information is
  strictly prohibited. If you have received this e-mail message in
 error,
  please immediately notify the sender by reply message and then delete
 the
  electronic message and any attachments.
 

 **
 This e-mail message and any attachments contain confidential information
 from Medco. If you are not the intended recipient, you are hereby notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in error,
 please immediately notify the sender by reply message and then delete the
 electronic message and any attachments.

 -
 To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
 For additional commands, e-mail: log4j-user-h...@logging.apache.org




RE: Chainsaw Events

2011-09-15 Thread Konduru, Geetha
Thanks !!

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Thursday, September 15, 2011 4:26 PM
To: Log4J Users List
Subject: Re: Chainsaw Events

Yes...use the File, Save events as menu option.

The events displayed on screen (whatever is not filtered out) plus any
annotations you provide (by editing the 'marker' column) are exported as
events using log4j's XML format.

If you use a .zip extension on the file name it will zip the xml file.

Scott

On Thu, Sep 15, 2011 at 1:23 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 Sorry , my question is.

 Can chainsaw store all evenet it is receiving from SocketReceiver in a
 file (which can be archived)

 Thank u,
 Vgss

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 3:30 PM
 To: Log4J Users List
 Subject: Re: Chainsaw Events

 Chainsaw uses a cyclic buffer by default, which means as new events
are
 received, old ones are removed from the table.  That cyclic buffer
size
 is
 global, but you can toggle between cyclic and non-cyclic and that is a
 tab-specific persistnet setting.  Once you hit the cyclic buffer
limit,
 more
 CPU will be used to drop old events.

 Chainsaw holds all events in memory, so modify the -Xmx and -Xms VM
args
 to
 support bigger files if you want cyclic buffering disabled.

 Chainsaw can store events received from a file - use the file, load
 chainsaw
 configuration menu option and then either choose to have it read your
 log4j.xml/log4j.properties fileappender configuration, or use the
 'process a
 log file' option to build the LogFilePatternReceiver configuration
 yourself.


 Scott

 On Thu, Sep 15, 2011 at 12:24 PM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  1.How many events  will it store?
 
  2..Using chain saw can we store all events received in a file.
 
 
 
 
 
  Thank U,
 
  Vgss
 
 
**
  This e-mail message and any attachments contain confidential
 information
  from Medco. If you are not the intended recipient, you are hereby
 notified
  that disclosure, printing, copying, distribution, or the taking of
any
  action in reliance on the contents of this electronic information is
  strictly prohibited. If you have received this e-mail message in
 error,
  please immediately notify the sender by reply message and then
delete
 the
  electronic message and any attachments.
 

 **
 This e-mail message and any attachments contain confidential
information
 from Medco. If you are not the intended recipient, you are hereby
notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in
error,
 please immediately notify the sender by reply message and then delete
the
 electronic message and any attachments.

 -
 To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
 For additional commands, e-mail: log4j-user-h...@logging.apache.org



**
This e-mail message and any attachments contain confidential information from 
Medco. If you are not the intended recipient, you are hereby notified that 
disclosure, printing, copying, distribution, or the taking of any action in 
reliance on the contents of this electronic information is strictly prohibited. 
If you have received this e-mail message in error, please immediately notify 
the sender by reply message and then delete the electronic message and any 
attachments.

-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org



Re: Chainsaw Events

2011-09-15 Thread Scott Deboy
By the way, you can email that xml or zip file to someone else and they can
load the events into Chainsaw (including your markers) by using the File,
open log4j xml-formatted file.

Scott

On Thu, Sep 15, 2011 at 1:33 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 Thanks !!

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 4:26 PM
 To: Log4J Users List
 Subject: Re: Chainsaw Events

 Yes...use the File, Save events as menu option.

 The events displayed on screen (whatever is not filtered out) plus any
 annotations you provide (by editing the 'marker' column) are exported as
 events using log4j's XML format.

 If you use a .zip extension on the file name it will zip the xml file.

 Scott

 On Thu, Sep 15, 2011 at 1:23 PM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  Sorry , my question is.
 
  Can chainsaw store all evenet it is receiving from SocketReceiver in a
  file (which can be archived)
 
  Thank u,
  Vgss
 
  -Original Message-
  From: Scott Deboy [mailto:scott.de...@gmail.com]
  Sent: Thursday, September 15, 2011 3:30 PM
  To: Log4J Users List
  Subject: Re: Chainsaw Events
 
  Chainsaw uses a cyclic buffer by default, which means as new events
 are
  received, old ones are removed from the table.  That cyclic buffer
 size
  is
  global, but you can toggle between cyclic and non-cyclic and that is a
  tab-specific persistnet setting.  Once you hit the cyclic buffer
 limit,
  more
  CPU will be used to drop old events.
 
  Chainsaw holds all events in memory, so modify the -Xmx and -Xms VM
 args
  to
  support bigger files if you want cyclic buffering disabled.
 
  Chainsaw can store events received from a file - use the file, load
  chainsaw
  configuration menu option and then either choose to have it read your
  log4j.xml/log4j.properties fileappender configuration, or use the
  'process a
  log file' option to build the LogFilePatternReceiver configuration
  yourself.
 
 
  Scott
 
  On Thu, Sep 15, 2011 at 12:24 PM, Konduru, Geetha
  geetha_kond...@medco.comwrote:
 
   1.How many events  will it store?
  
   2..Using chain saw can we store all events received in a file.
  
  
  
  
  
   Thank U,
  
   Vgss
  
  
 **
   This e-mail message and any attachments contain confidential
  information
   from Medco. If you are not the intended recipient, you are hereby
  notified
   that disclosure, printing, copying, distribution, or the taking of
 any
   action in reliance on the contents of this electronic information is
   strictly prohibited. If you have received this e-mail message in
  error,
   please immediately notify the sender by reply message and then
 delete
  the
   electronic message and any attachments.
  
 
  **
  This e-mail message and any attachments contain confidential
 information
  from Medco. If you are not the intended recipient, you are hereby
 notified
  that disclosure, printing, copying, distribution, or the taking of any
  action in reliance on the contents of this electronic information is
  strictly prohibited. If you have received this e-mail message in
 error,
  please immediately notify the sender by reply message and then delete
 the
  electronic message and any attachments.
 
  -
  To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
  For additional commands, e-mail: log4j-user-h...@logging.apache.org
 
 

 **
 This e-mail message and any attachments contain confidential information
 from Medco. If you are not the intended recipient, you are hereby notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in error,
 please immediately notify the sender by reply message and then delete the
 electronic message and any attachments.

 -
 To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
 For additional commands, e-mail: log4j-user-h...@logging.apache.org




RE: Chainsaw Events

2011-09-15 Thread Konduru, Geetha
Wow  thanks a lot!!

-Original Message-
From: Scott Deboy [mailto:scott.de...@gmail.com] 
Sent: Thursday, September 15, 2011 4:47 PM
To: Log4J Users List
Subject: Re: Chainsaw Events

By the way, you can email that xml or zip file to someone else and they
can
load the events into Chainsaw (including your markers) by using the
File,
open log4j xml-formatted file.

Scott

On Thu, Sep 15, 2011 at 1:33 PM, Konduru, Geetha
geetha_kond...@medco.comwrote:

 Thanks !!

 -Original Message-
 From: Scott Deboy [mailto:scott.de...@gmail.com]
 Sent: Thursday, September 15, 2011 4:26 PM
 To: Log4J Users List
 Subject: Re: Chainsaw Events

 Yes...use the File, Save events as menu option.

 The events displayed on screen (whatever is not filtered out) plus any
 annotations you provide (by editing the 'marker' column) are exported
as
 events using log4j's XML format.

 If you use a .zip extension on the file name it will zip the xml file.

 Scott

 On Thu, Sep 15, 2011 at 1:23 PM, Konduru, Geetha
 geetha_kond...@medco.comwrote:

  Sorry , my question is.
 
  Can chainsaw store all evenet it is receiving from SocketReceiver in
a
  file (which can be archived)
 
  Thank u,
  Vgss
 
  -Original Message-
  From: Scott Deboy [mailto:scott.de...@gmail.com]
  Sent: Thursday, September 15, 2011 3:30 PM
  To: Log4J Users List
  Subject: Re: Chainsaw Events
 
  Chainsaw uses a cyclic buffer by default, which means as new events
 are
  received, old ones are removed from the table.  That cyclic buffer
 size
  is
  global, but you can toggle between cyclic and non-cyclic and that is
a
  tab-specific persistnet setting.  Once you hit the cyclic buffer
 limit,
  more
  CPU will be used to drop old events.
 
  Chainsaw holds all events in memory, so modify the -Xmx and -Xms VM
 args
  to
  support bigger files if you want cyclic buffering disabled.
 
  Chainsaw can store events received from a file - use the file, load
  chainsaw
  configuration menu option and then either choose to have it read
your
  log4j.xml/log4j.properties fileappender configuration, or use the
  'process a
  log file' option to build the LogFilePatternReceiver configuration
  yourself.
 
 
  Scott
 
  On Thu, Sep 15, 2011 at 12:24 PM, Konduru, Geetha
  geetha_kond...@medco.comwrote:
 
   1.How many events  will it store?
  
   2..Using chain saw can we store all events received in a file.
  
  
  
  
  
   Thank U,
  
   Vgss
  
  
 **
   This e-mail message and any attachments contain confidential
  information
   from Medco. If you are not the intended recipient, you are hereby
  notified
   that disclosure, printing, copying, distribution, or the taking of
 any
   action in reliance on the contents of this electronic information
is
   strictly prohibited. If you have received this e-mail message in
  error,
   please immediately notify the sender by reply message and then
 delete
  the
   electronic message and any attachments.
  
 
 
**
  This e-mail message and any attachments contain confidential
 information
  from Medco. If you are not the intended recipient, you are hereby
 notified
  that disclosure, printing, copying, distribution, or the taking of
any
  action in reliance on the contents of this electronic information is
  strictly prohibited. If you have received this e-mail message in
 error,
  please immediately notify the sender by reply message and then
delete
 the
  electronic message and any attachments.
 
 
-
  To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
  For additional commands, e-mail: log4j-user-h...@logging.apache.org
 
 

 **
 This e-mail message and any attachments contain confidential
information
 from Medco. If you are not the intended recipient, you are hereby
notified
 that disclosure, printing, copying, distribution, or the taking of any
 action in reliance on the contents of this electronic information is
 strictly prohibited. If you have received this e-mail message in
error,
 please immediately notify the sender by reply message and then delete
the
 electronic message and any attachments.

 -
 To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
 For additional commands, e-mail: log4j-user-h...@logging.apache.org



**
This e-mail message and any attachments contain confidential information from 
Medco. If you are not the intended recipient, you are hereby notified that 
disclosure, printing, copying, distribution, or the taking of any action in 
reliance on the contents of this electronic information is strictly prohibited. 
If you have