Re: Chainsaw log-parsing classes

2018-01-20 Thread Scott Deboy
e from Chainsaw and implement a > LogEventParser for Log4j 2? > > https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/TextLogEventParser.java > > > On 2018-01-19 17:00, Scott Deboy wrote: >> Here's info on how you c

Re: Stack Overflow Question

2017-09-03 Thread Scott Deboy
I commented in SO. It worked with very minor changes to your test & config, but you do have to use the latest version available in git. It's not the version you can download from the website - that's very old and doesn't include the log4j2 support yet. On 9/3/17, Grzegorz Świeć

Re: Chainsaw Zeroconf FileAppender Error

2017-04-21 Thread Scott Deboy
It's just missing branding requirements and a vote. On 4/21/17, Ralph Goers <ralph.go...@dslextreme.com> wrote: > When are you going to release that? > > Ralph > >> On Apr 21, 2017, at 4:25 PM, Scott Deboy <scott.de...@gmail.com> wrote: >> >> Are you

Re: Chainsaw Zeroconf FileAppender Error

2017-04-21 Thread Scott Deboy
lue > [file://home/mohit/example.log] > and so on for all other parameters > > On Fri, Apr 21, 2017 at 6:42 PM, Scott Deboy <scott.de...@gmail.com> wrote: > >> Here you go. >> >> Change the fileURL to apply to your setup, and the name field if you'd >>

Re: Chainsaw Zeroconf FileAppender Error

2017-04-21 Thread Scott Deboy
> > bufferedIO="false" advertiseURI="file:///home/user/output.log" > advertise="true"> > > > > > > > > > > > > > > > > On Fri, Apr 21, 2017 at 5:41 PM, Scott Deboy <scott.de...@gmail.com> wrote

Re: Chainsaw Zeroconf FileAppender Error

2017-04-21 Thread Scott Deboy
Send a chunk of your log file and I'll give you a config that works. Scott On Apr 21, 2017 2:36 PM, "Mohit Garg" wrote: > Hey Scott, > > Yes, I am using Chainsaw and logging on the same machine. > > My OS is Ubuntu 14.04. > > Can you please send me a sample

Re: Chainsaw Zeroconf FileAppender Error

2017-04-21 Thread Scott Deboy
shows the same error. > > Attempting connection to 10.1.1.130 > Remote host 10.1.1.130 refused connection > waiting for 3 millisecond before reconnecting > > Thanks, > Mohit Garg > > On Wed, Apr 19, 2017 at 1:22 AM, Scott Deboy <scott.de...@gmail.com> wrote

Re: Chainsaw Zeroconf FileAppender Error

2017-04-18 Thread Scott Deboy
I used jmdns 3.4.2 with the latest log4j2 and a sample app that used the following appender configuration to log to a local file. Chainsaw was able to discover the advertisement and live tail the log file. It looks like the latest JmDNS has changed their API, so log4j2 works with jmdns 3.4.1,

Re: Apache chainsaw

2017-04-09 Thread Scott Deboy
If anyone wants a list of chainsaw features I'd be happy to provide it. It's much more powerful than just a viewer. Scott On Apr 9, 2017 7:59 PM, "John Lussmyer" wrote: > On Sun Apr 09 19:01:43 PDT 2017 boa...@gmail.com said: > >Kibana requires a lot of setup, too.

Re: Apache chainsaw

2017-04-09 Thread Scott Deboy
gt;>>> it up in Jenkins, we can also have snapshots published to Nexus. > > >>>> > > >>>> On 29 March 2017 at 14:53, Ralph Goers < > ralph.go...@dslextreme.com> > > >>> wrote: > > >>>> > > >

Re: Re[2]: Apache chainsaw

2017-03-29 Thread Scott Deboy
I use it and it works well for logs under 1M records, assuming you can give the JVM enough memory. I use the developer snapshot here: https://people.apache.org/~sdeboy/ On 3/29/17, João Ferreira wrote: > Yeah, that was what i expected. But is there any project

Re: Is Chainsaw alive?

2017-01-16 Thread Scott Deboy
The developer snapshot tarball works for me. Available at http://people.apache.org/~sdeboy/ On Jan 16, 2017 3:43 AM, "Robert Lu" wrote: > Hi, > > Cloud you please compile Chainsaw for macOS Sierra? > > > > >

Re: chainsaw - socket hander - jdk util logging

2016-05-16 Thread Scott Deboy
rr.com> wrote: > On 5/16/2016 5:11 PM, Scott Deboy wrote: > >> I just tried it myself with the latest developer snapshot and it worked >> fine. >> >> This code was used on the 'transmit' side: ... >> > i use similar code. > >> This config file was

Re: chainsaw - socket hander - jdk util logging

2016-05-16 Thread Scott Deboy
which is why 'hostname' is set to localhost for the socket handler events. You could change that expression to 'level' to get individual tabs for info/debug/warn level messages, etc. I hope that helps, Scott On 5/16/16, Ray Tayek <rta...@ca.rr.com> wrote: > On 5/16/2016 2:26 PM, Scott

Re: chainsaw - socket hander - jdk util logging

2016-05-16 Thread Scott Deboy
With the latest developer snapshot from http://people.apache.org/~sdeboy See the 'Welcome' tab in Chainsaw, and click 'View example Receiver Configuration' toolbar button. Copy and paste that to a file, and remove all of the plugin entries except for: And modify that port

Re: Zero conf is not showing logs even it's connected

2016-03-07 Thread Scott Deboy
b, it still just changes the > connection status to Connected/Not Connected. Was I supposed to see the > logs when I double click on that row at ZeroConf tab? > > http://stackoverflow.com/questions/35784129/how-to-configure-port-in-apache-chainsaw-with-log4j2 > > On Fri, Mar 4, 2016 at 10

Re: Zero conf is not showing logs even it's connected

2016-03-04 Thread Scott Deboy
> > On 4 March 2016 at 14:36, Bilguun Ariunbold <ariunboldbilig...@gmail.com> > wrote: > >> Thank you Scott, the link you sent me was not found. Where should I get >> that snapshot? >> >> On Fri, Mar 4, 2016 at 3:33 PM, Scott Deboy <scott.de...@gmail.com&g

Re: Zero conf is not showing logs even it's connected

2016-03-04 Thread Scott Deboy
To clarify, the 'people' path is going away - the new permanent path is: http://home.apache.org/~sdeboy On 3/4/16, Scott Deboy <scott.de...@gmail.com> wrote: > I've uploaded the developer snapshot to http://people.apache.org/~sdeboy/ > > Extract the tarball and run bin/chainsa

Re: Zero conf is not showing logs even it's connected

2016-03-04 Thread Scott Deboy
ows pc. Was I supposed to be administrator of my > machine? I don't need log4j-zeroconf.jar, do I? > > > Thanks > > > > > > > On Fri, Mar 4, 2016 at 3:00 PM, Scott Deboy <scott.de...@gmail.com> wrote: > > > I don't know why it would say remote host refused co

Re: Zero conf is not showing logs even it's connected

2016-03-04 Thread Scott Deboy
ifferent machines). As far as I know, chainsaw uses 4555 as > default port, was I supposed to specify different port in my appender > definition? > > On Fri, Mar 4, 2016 at 2:30 PM, Scott Deboy <scott.de...@gmail.com> wrote: > >> Are you running Chainsaw on the same machine

Re: Zero conf is not showing logs even it's connected

2016-03-04 Thread Scott Deboy
Are you running Chainsaw on the same machine as the app using this log4j2 appender config? Chainsaw will try to load the advertiseURL directly: file:///C://users/bilguuna/logs/webapp.log If Chainsaw is on a separate machine, multicast packets need to be able to flow between your environment

Re: How to get Log4j2, Tomcat and Chainsaw work together?

2014-07-23 Thread Scott Deboy
Regarding Chainsaw, it currently doesn't support the XML format generated by Log4j2, but does support pattern layout based log formats. Chainsaw supports most regular text log formats, and has special support for Log4j's pattern layout. I'd suggest either configuring Chainsaw manually, or use

Re: maven build for source does not work

2014-04-28 Thread Scott Deboy
It is not true that we don't maintain 1.2 any longer. If important issues are found we may still address them even though we are focused on Log4j2. On Apr 28, 2014 4:01 PM, Matt Sicker boa...@gmail.com wrote: We don't maintain 1.2.x anymore. Also, I think you're supposed to use ant to build

Re: [ANNOUNCEMENT] Welcome Matt Sicker

2014-03-03 Thread Scott Deboy
Welcome! Scott On Mar 3, 2014 2:09 PM, Remko Popma remko.po...@gmail.com wrote: Here you are: To subscribe to the list, send a message to: commits-subscr...@logging.apache.org Remko On Tuesday, March 4, 2014, Matt Sicker boa...@gmail.com wrote: So is there a commits mailing list

Re: Log4j2 - JConsole JMX appender

2013-10-30 Thread Scott Deboy
of application log files. If you are looking for a tool that allows you to view the log file from a remote machine you may want to take a look at Chainsaw. http://logging.apache.org/chainsaw/ Scott Deboy has been doing work to make Chainsaw's zeroconf feature work well with log4j2. I am

Re: Log4j2 - JConsole JMX appender

2013-10-30 Thread Scott Deboy
ringbuffer is configured to be very large will consume about 30 MB of memory. This bit can be documented better. I didn't think it mattered whether the underlying appender does file IO or network IO. Did I miss something? Remko On Thursday, October 31, 2013, Scott Deboy wrote: I'm

Re: Log4j2 - JConsole JMX appender

2013-10-30 Thread Scott Deboy
for the inconvenience, if i did not make my self clear .* * * is there a way to output log file name as : *web-application-context-path *-date.log ? [configuration of log4j2,xml] Yes I did append the *date* by looking at RollingAppender. Thanks On Thu, Oct 31, 2013 at 6:48 AM, Scott Deboy scott.de

Re: Log4j2 - JConsole JMX appender

2013-10-30 Thread Scott Deboy
Actually there is already a WebLookup, which supports 'contextPath', 'servletContextName', etc. See: http://logging.apache.org/log4j/2.x/manual/lookups.html On 10/30/13, Scott Deboy scott.de...@gmail.com wrote: What might be easiest is to use separate log4j configurations for each web app

Re: [ANNOUNCEMENT] Apache Log4j Extras 1.2.17 released

2013-10-20 Thread Scott Deboy
Yes, it looks like something went a bit sideways with the -bin jar. The source jar is correct (no Appender class), but the -bin jar does have the additional classes in it. Scott On 10/20/13, Jess Holle je...@ptc.com wrote: So I just downloaded apache-log4j-extras-1.2.17-bin.zip, pulled out

Re: Chainsaw and Log4j2

2013-10-17 Thread Scott Deboy
Chainsaw has been updated and offered via developer snapshots, but those updates haven't been released. The latest developer snapshot is available at http://people.apache.org/~sdeboy We are working on an updated release of log4j extras, which Chainsaw needs. Once extras is released, we'll

Re: Log4j2: Column casting in JDBCAppender

2013-08-22 Thread Scott Deboy
You mean like: http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/db/dialect/package-summary.html Scott On 8/22/13, Nick Williams nicho...@nicholaswilliams.net wrote: IMO, this is a bug in the PGSQL JDBC driver and not something that Log4j can easily (or should)

Re: Log4j2: Column casting in JDBCAppender

2013-08-22 Thread Scott Deboy
, 2013, at 4:59 PM, Scott Deboy wrote: You mean like: http://logging.apache.org/log4j/companions/receivers/apidocs/org/apache/log4j/db/dialect/package-summary.html Scott On 8/22/13, Nick Williams nicho...@nicholaswilliams.net wrote: IMO, this is a bug in the PGSQL JDBC driver

Re: Programmatically setting log4j2 log level

2013-05-18 Thread Scott Deboy
From looking at this, seems like config.getRootLoggerConfig() would be a better name. On May 17, 2013 10:40 PM, Ralph Goers ralph.go...@dslextreme.com wrote: No, the X Logger does not inherit its level from the root Logger. It inherits its level from the root LoggerConfig. See the picture at

Chainsaw support for java.util.logging file format

2013-05-03 Thread Scott Deboy
welcome! Scott Deboy

Re: apache-chainsaw snapshot download

2013-03-01 Thread Scott Deboy
Hi Yogi, I don't think the Chainsaw snapshot is published to maven..you have to build it yourself... On Fri, Mar 1, 2013 at 12:29 PM, Yogi Nerella ynerella...@gmail.com wrote: Hi, I cant find a central repository which is hosting apache-chainsaw-2.1.0.SNAPSHOT? Can anyone give sample

Re: Any tools to convert log messages to log events

2013-02-27 Thread Scott Deboy
On Tue, Feb 26, 2013 at 3:33 PM, Scott Deboy scott.de...@gmail.com wrote: Chainsaw does this: private static final LoggerRepositoryExImpl repositoryExImpl = new LoggerRepositoryExImpl(LogManager.getLoggerRepository()); Which I think you also need to do prior to calling activateOptions

Re: Any tools to convert log messages to log events

2013-02-27 Thread Scott Deboy
with comma,sss, and these lines are also ending up with no match, would like to report the error properly. I was interested in log4j2 on the appender side only, so I can try and see if it is working ok. Thanks, Yogi On Wed, Feb 27, 2013 at 1:08 PM, Scott Deboy scott.de...@gmail.com wrote: I

Re: Any tools to convert log messages to log events

2013-02-26 Thread Scott Deboy
25, 2013 at 9:41 PM, Scott Deboy scott.de...@gmail.com wrote: Maybe you are hitting a typo? It's VFSLogFilePatternReceiver (not VSLogFilePatternReceiver) and can be found in the Chainsaw binaries. I'd suggest pulling down the latest developer snapshot at http://people.apache.org/~sdeboy

Re: Any tools to convert log messages to log events

2013-02-26 Thread Scott Deboy
Err left hand side :) On Tue, Feb 26, 2013 at 10:38 AM, Scott Deboy scott.de...@gmail.com wrote: The link I referenced: http://logging.apache.org/log4j/companions/extras/ Has a 'download' link on the right hand side. Scott On Tue, Feb 26, 2013 at 10:17 AM, Yogi Nerella ynerella

Re: Any tools to convert log messages to log events

2013-02-26 Thread Scott Deboy
/logging/log4j/companions/extras/1.1/apache-log4j-extras-1.1.tar.gz * http://apache.mirrors.pair.com/logging/log4j/companions/extras/1.1/apache-log4j-extras-1.1.tar.gz Yogi On Tue, Feb 26, 2013 at 10:38 AM, Scott Deboy scott.de...@gmail.com wrote: Err left hand side :) On Tue, Feb

Re: Any tools to convert log messages to log events

2013-02-26 Thread Scott Deboy
? I am attaching the java code I am using and the log4j.xml file. Thanks Yogi On Tue, Feb 26, 2013 at 11:19 AM, Scott Deboy scott.de...@gmail.comwrote: Yikes!!! Thanks for pointing this out.. I'll send an email to the dev list, hopefully someone will know how to resolve it. Scott

Re: Any tools to convert log messages to log events

2013-02-25 Thread Scott Deboy
. Downloaded source code and built, this is missing org.apache.log4j.spi.OptionHandler Can you point me the correct place where I can download the chainsaw. Thanks Yogi On Sat, Feb 23, 2013 at 8:51 AM, Scott Deboy scott.de...@gmail.com wrote: Yes, I would suggest adding non-space

Re: Any tools to convert log messages to log events

2013-02-23 Thread Scott Deboy
of the receivers being part of the codebase but in some companion layer. I have no problem with having them being added. If you really feel something is missing you are welcome to commit it. Ralph On Feb 22, 2013, at 4:58 PM, Scott Deboy wrote: I forgot the two main socket appenders of course

Re: Any tools to convert log messages to log events

2013-02-23 Thread Scott Deboy
. I have no problem with having them being added. If you really feel something is missing you are welcome to commit it. Ralph On Feb 22, 2013, at 4:58 PM, Scott Deboy wrote: I forgot the two main socket appenders of course: SocketAppender - SocketReceiver SocketHubAppender

Re: Any tools to convert log messages to log events

2013-02-22 Thread Scott Deboy
If you want the events to end up in log4j (being processed by an appender, it's very easy, just define a (VFS)LogFilePatternReceiver in your log4j configuration file. If you instead want the LogEvents so you can do something else with them, you can use the (VFS)LogFilePatternReceiver outside of

Re: Any tools to convert log messages to log events

2013-02-22 Thread Scott Deboy
with Log4j 2? Ralph On Feb 22, 2013, at 3:32 PM, Scott Deboy wrote: If you want the events to end up in log4j (being processed by an appender, it's very easy, just define a (VFS)LogFilePatternReceiver in your log4j configuration file. If you instead want the LogEvents so you can do

Re: Any tools to convert log messages to log events

2013-02-22 Thread Scott Deboy
that the main difference is that the receiver would not be a main but would be embedded in the application. Where are they documented? Ralph On Feb 22, 2013, at 3:51 PM, Scott Deboy wrote: Log4j2 has no concept of receivers, correct? On Fri, Feb 22, 2013 at 3:39 PM, Ralph Goers ralph.go

Re: Any tools to convert log messages to log events

2013-02-22 Thread Scott Deboy
-DBReceiver (DBAppender uses a predefined schema) Custom DB definition-CustomSQLDBReceiver There may be others, those are the ones I can remember off the top of my head. Scott On Fri, Feb 22, 2013 at 4:44 PM, Scott Deboy scott.de...@gmail.com wrote: In log4j1.x, yes, receivers can be configured

Re: Any tools to convert log messages to log events

2013-02-22 Thread Scott Deboy
I forgot the two main socket appenders of course: SocketAppender - SocketReceiver SocketHubAppender - SocketHubReceiver (allow reverse-connects from the 'receiver' to the 'appender') On Fri, Feb 22, 2013 at 4:51 PM, Scott Deboy scott.de...@gmail.com wrote: There are quite a few appenders

Re: Log4j Extras ExpressionFilter issue

2012-10-04 Thread Scott Deboy
=com.mypackage.MyClass level value=TRACE/ /logger root level value=WARN/ appender-ref ref=default/ /root On Tue, 2 Oct 2012 15:53:57 -0700 Scott Deboy scott.de...@gmail.com wrote: Try PROP.url == 'blah' MDC entries are really just set as properties

Re: Log4j Extras ExpressionFilter issue

2012-10-02 Thread Scott Deboy
Try PROP.url == 'blah' MDC entries are really just set as properties of the log4j events. Scott On Tue, Oct 2, 2012 at 1:10 PM, Jacob Kjome h...@visi.com wrote: I'm trying to use the ExpressionFilter [1] from Log4j Extras to limit logging for a particular appender to those cases where MDC

Re: Chainsaw update fails horridly

2012-09-05 Thread Scott Deboy
Apologies, we really really have to get a new release out the door. The quick fix is to delete your $USER_HOME/.chainsaw folder (or if you are having problems with only a certain tab, files with that tab's name in the .chainsaw folder). I would also suggest trying the developer snapshot from

Re: Chainsaw update fails horridly

2012-09-05 Thread Scott Deboy
to get the developper snapshot some time ago, but gave up with unfathomable maven errors occuring all over the place! I guess I can try again. David On Wed, Sep 5, 2012 at 4:14 PM, Scott Deboy scott.de...@gmail.com wrote: Apologies, we really really have to get a new release out the door

Re: [2.X] Null object returned for root

2012-08-07 Thread Scott Deboy
Would be good to catch this and provide a more descriptive error in cases like this as well. On Tue, Aug 7, 2012 at 8:33 AM, Ralph Goers ralph.go...@dslextreme.comwrote: The configuration should work provided log.level is actually defined as a system property. If you set the status directly to

Re: Filter log based on package when using getLogger(String)

2012-07-18 Thread Scott Deboy
Correction: expression would use the LOGGER instead of MSG, since you're filtering on that. On Wed, Jul 18, 2012 at 10:54 AM, Scott Deboy scott.de...@gmail.com wrote: You can use filters, including the ExpressionFilter, to build pretty much arbitrary expressions and filter appenders using

Re: FW: logfilepatternreceiver issue

2012-07-02 Thread Scott Deboy
Can you provide more information, including your configuration file and a few lines from your log? I'd suggest trying the latest developer snapshot and its ability to use an existing fileappender definition from a log4j.xml or log4j.properties file... Developer snapshot is available here:

Re: ExpressionFilter in log4j.properties

2012-02-02 Thread Scott Deboy
I don't think you can define nested elements in the configuration file format, which are usually where expressionfilters end up. What are you trying to define? Scott On Thu, Feb 2, 2012 at 1:24 AM, Ricardo Oliveira rvelo...@gmail.com wrote: Hello, Is there any way to configure expression

Re: Configuration Sequence

2012-02-02 Thread Scott Deboy
Order in the file doesn't really matter in either case it seems. For a properties file, PropertyConfigurator does process entries in a specific order, but it just finds them in the properties file and builds the entries - here is the code from PropertyConfigurator:

Re: log4j - optional parameter

2012-01-05 Thread Scott Deboy
The feedback usually given is to use a different Logger named 'encryption' and manage its logging threshold in the configuration file, so you can control encryption logging separately from the other logger you are using in this class. On Wed, Jan 4, 2012 at 10:47 PM, lavsara sv_lava...@yahoo.com

Re: Modifying the content to be shown in log files using properties files by blacklisting charters

2011-10-11 Thread Scott Deboy
properties file into log4j.xml, then implement rewritepolicy? On Mon, Oct 10, 2011 at 10:47 AM, Curt Arnold carn...@apache.org wrote: On Oct 7, 2011, at 3:47 PM, Scott Deboy wrote: RewritePolicy and RewriteAppender are included in the log4j receivers companion (source only currently

Re: Modifying the content to be shown in log files using properties files by blacklisting charters

2011-10-07 Thread Scott Deboy
Yes it is possible to modify log messages before they are sent to an appender. Use a rewriteappender, implement you own rewritepolicy, and include an appender-ref to the destination appender in the rewriteappender definition along with the rewritepolicy. Scott On Oct 7, 2011, at 7:37

Re: Modifying the content to be shown in log files using properties files by blacklisting charters

2011-10-07 Thread Scott Deboy
shuklaaanjan...@gmail.comwrote: Can you please guide me to any examples, it would be lot quicker. Thanks, Aanjaneya On Fri, Oct 7, 2011 at 8:28 PM, Scott Deboy scott.de...@gmail.com wrote: Yes it is possible to modify log messages before they are sent to an appender. Use a rewriteappender

Re: Modifying the content to be shown in log files using properties files by blacklisting charters

2011-10-07 Thread Scott Deboy
RewritePolicy and RewriteAppender are included in the log4j receivers companion (source only currently). On Fri, Oct 7, 2011 at 1:45 PM, Scott Deboy scott.de...@gmail.com wrote: appender name=F1 class=org.apache.log4j.FileAppender param name=file value=c:/temp/file.txt/ param

Re: log4j----Edit the event received

2011-09-19 Thread Scott Deboy
it to work??? -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Friday, September 16, 2011 4:03 PM To: Log4J Users List Subject: Re: log4jEdit the event received In theory then, you should be able to add the entire chainsaw classpath

Re: log4j----Edit the event received

2011-09-19 Thread Scott Deboy
: no grammar found. It looks like parsing is different in chainsaw application from my Application, my classpath is exactly same. Weird! Thank U, VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Monday, September 19, 2011 1:13 PM To: Log4J Users

Re: log4j----Edit the event received

2011-09-19 Thread Scott Deboy
... -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Monday, September 19, 2011 1:39 PM To: Log4J Users List Subject: Re: log4jEdit the event received Can you try adding these two lines to the top of your config? ?xml version=1.0 encoding=UTF-8

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
: 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

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
?,triggeringPolicy?,connectionSource ?,layout?,filter*,appender-ref*). Adding an Appender to RewriteAppender is working fine, but assigning rewritePolicy to a RewriteAppender is failing. Thank U, VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Friday

Re: log4j----Edit the event received

2011-09-16 Thread Scott Deboy
where I define SocketAppender , it is not working, I included components ,extras and receivers jars. Thank U, VGSS -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Friday, September 16, 2011 3:03 PM To: Log4J Users List Subject: Re: log4jEdit the event

Re: log4j----Edit the event received

2011-09-15 Thread Scott Deboy
, 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

Re: Chainsaw-timestap

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

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

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

Re: Chainsaw Events

2011-09-15 Thread Scott Deboy
. 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

Re: Chainsaw Events

2011-09-15 Thread Scott Deboy
!! -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

Re: Chain saw socket appender

2011-09-14 Thread Scott Deboy
-Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, September 14, 2011 1:54 AM To: Log4J Users List Subject: Re: Chain saw socket appender Since log4j 1.2.15, the socket-based appenders have an 'application' parameter that can be set which will result

Re: Chain saw socket appender

2011-09-14 Thread Scott Deboy
- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, September 14, 2011 10:37 AM To: Log4J Users List Subject: Re: Chain saw socket appender Try application instead of Application. On Sep 14, 2011, at 7:29 AM, Konduru, Geetha geetha_kond...@medco.com wrote: Sorry

Re: Chain saw socket appender

2011-09-14 Thread Scott Deboy
following WARNING MESSAGE, log4j:WARN No such property [pplication] in org.apache.log4j.net.SocketAppender. -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, September 14, 2011 11:06 AM To: Log4J Users List Subject: Re: Chain saw socket

Re: log4j----Edit the event received

2011-09-14 Thread Scott Deboy
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

Re: Chain saw socket appender

2011-09-14 Thread Scott Deboy
Your attachment was stripped from the reflector..can you paste in the output into a new message? Thanks On Wed, Sep 14, 2011 at 1:11 PM, Konduru, Geetha geetha_kond...@medco.comwrote: ** You have received a secure message from Medco Health Solutions You have received a secure email

Re: Chain saw socket appender

2011-09-14 Thread Scott Deboy
Sorry, JAVACMD is a system property: On windows: set JAVACMD=java On Linux/Mac export JAVACMD=java On Wed, Sep 14, 2011 at 1:25 PM, Scott Deboy scott.de...@gmail.com wrote: You may be seeing an uncaught exception on the Swing thread..to check that, open a shell and set the JAVACMD argument

Re: log4j----Edit the event received

2011-09-14 Thread Scott Deboy
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

Re: log4j----Edit the event received

2011-09-14 Thread Scott Deboy
=properties value=somepropertyname1=somepropertyvalue1,somepropertyname2=somepropertyvalue2/ /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

Re: Chain saw socket appender

2011-09-13 Thread Scott Deboy
Since log4j 1.2.15, the socket-based appenders have an 'application' parameter that can be set which will result in an additional application property being set on each event, which will then be used by Chainsaw to route events to the correct tab. The following example will result in events being

Re: Chainsaw v2 - do not convert log timestamps to local time zone.

2011-08-18 Thread Scott Deboy
You can adjust what timezone is used to render timestamps in Chainsaw. Go to current tab menu, tab preferences (or use the context menu available in the tab's table), choose the formatting category and provide a value in the 'timezone of event's field. Scott On Thu, Aug 18, 2011 at 2:51 AM,

Re: VFSLogFilePatternReceiver not tailing over sftp

2011-08-17 Thread Scott Deboy
AM, Scott Deboy scott.de...@gmail.com wrote: I use tailing all the time with the file: support in VFS, so tailing in general is functioning properly, but I was able to repro your tailing issue when I used sftp... I'll look into it. Scott On Wed, Aug 10, 2011 at 4:18 AM, Mihail K sir.misho

Re: VFSLogFilePatternReceiver not tailing over sftp

2011-08-10 Thread Scott Deboy
I use tailing all the time with the file: support in VFS, so tailing in general is functioning properly, but I was able to repro your tailing issue when I used sftp... I'll look into it. Scott On Wed, Aug 10, 2011 at 4:18 AM, Mihail K sir.misho...@gmail.com wrote: Hello, Chainsaw is loading

Re: Chainsaw question

2011-08-10 Thread Scott Deboy
The code that parses XML formatted events expects event nodes only. No eventset. I added support for eventset-wrapped events but it also requires the XML declaration to be present. Scott On Aug 10, 2011, at 7:32 AM, cscsaba cscsaba...@gmail.com wrote: Hello, I hope I dont disturb this

Re: Chainsaw question

2011-08-10 Thread Scott Deboy
declaration to be present. Briefly, I can use Apache Chainsaw to process this kind of log or not ? Thanks in advance. On Wed, Aug 10, 2011 at 4:15 PM, Scott Deboy scott.de...@gmail.com wrote: The code that parses XML formatted events expects event nodes only. No eventset. I added support

Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage

2011-07-25 Thread Scott Deboy
is that the log entries are not always consistent. Once in a while there is a plain text entry shown up. I will try sftp again soon. Once again, thank you. QD -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Thursday, July 21, 2011 5:04 PM To: Log4J Users

Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage

2011-07-22 Thread Scott Deboy
for id/pwd. Would you please give me a detailed the instruction or your working sample configuration file? Thank you QD -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Thursday, July 21, 2011 1:36 PM To: Log4J Users List Subject: Re: Help Log4j

Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage

2011-07-21 Thread Scott Deboy
) at org.apache.commons.vfs.provider.sftp.SftpClientFactory.createConnection(SftpClientFactory.java:210) ... 7 more I use both Putty and FileZilla to get MyLog.log. Credential is good. Thank you for helping me. QD -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Wednesday, July 20

Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage

2011-07-21 Thread Scott Deboy
server actually supports SFTP. It may support ssh connections but not support the SSH File Transfer Protocol. Scott On Thu, Jul 21, 2011 at 9:13 AM, Scott Deboy scott.de...@gmail.com wrote: Here is a configuration I just used to retrieve a log file from my Mac using the latest developer snapshot

Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage

2011-07-21 Thread Scott Deboy
to view the static file manually downloaded. Thank you very much. QD -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Thursday, July 21, 2011 11:36 AM To: Log4J Users List Subject: Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage If you are still

Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage

2011-07-21 Thread Scott Deboy
. Manually define a VFSLogFilePatternReceiver. Don't see the GUI prompt for id/pwd. Would you please give me a detailed the instruction or your working sample configuration file? Thank you QD -Original Message- From: Scott Deboy [mailto:scott.de...@gmail.com] Sent: Thursday, July

Re: Help Log4j Chainsaw - VFSLogFilePatternReceiver Usage

2011-07-20 Thread Scott Deboy
Are you using the latest developer snapshot of Chainsaw, available here? http://people.apache.org/~sdeboy If not, please try it and follow-up with your results. Thanks Scott On Wed, Jul 20, 2011 at 12:18 PM, Ding, Qin qin.d...@jpmchase.com wrote: I am trying to view the log4j log using

Re: How do I hook in before log4j starts?

2011-07-19 Thread Scott Deboy
log4j.configuratorClass. Both of these require the user - instead of the library handling the logging on behalf of the user - to setup the environment correctly and without conflicting with any other application. Thank you, Jay Turner -Original Message- From: Scott Deboy [mailto:scott.de

Re: How do I hook in before log4j starts?

2011-07-18 Thread Scott Deboy
log4j initialization is running because of explicit programmatic configuration (via PropertyConfigurator/DOMConfigurator) or more likely a static logger declaration or a logger instance be initialized prior to your configuration code being ran. I'd suggest changing your logger declarations to be

Re: How do I hook in before log4j starts?

2011-07-18 Thread Scott Deboy
-specific myKey=myValue parameters like this: ?xml version=1.0 encoding=UTF-8? !DOCTYPE log4j:configuration SYSTEM log4j.dtd log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=true param name=myKey value=myValue/ Thank you, Jay Turner From: Scott Deboy

Re: I need to handle log4j:WARN Unrecognized element param

2011-07-15 Thread Scott Deboy
Here's how Chainsaw does it: 1. Create your own LoggerRepository implementation that implements unrecognizedelementhandler (Chainsaw uses LoggerRepositoryExImpl from the components companion). LogManager.setRepositorySelector(new RepositorySelector() { public LoggerRepository

  1   2   3   4   5   6   >