Also, are you using an xml configuration file, or creating the receiver
config from the receivers panel? I'd suggest using an xml configuration
file..see the Welcome tab for an example (and notice the 'appendNonMatches'
param).
I was using the receivers panel, I just tried with an xml config file
and it's now working fine!
I just committed a change - let me know if it works..
I'll test again without the config and let you know.
Cheers
Vik
On 08/13/2010 02:38 PM, Scott Deboy wrote:
Chainsaw strips the username/password out of the URL and builds the
'application' and 'hostname' properties out of the remaining URL so your
file is given its own tab..for some reason, Chainsaw wasn't able to parse
the end of your password.
I just committed a change - let me know if it works..
Also, are you using an xml configuration file, or creating the receiver
config from the receivers panel? I'd suggest using an xml configuration
file..see the Welcome tab for an example (and notice the 'appendNonMatches'
param).
If this works and Chainsaw loads your log file but doesn't parse it
correctly, feel free to reply with a few lines of your log file and I can
help give you a good logFormat.
Scott
On Fri, Aug 13, 2010 at 5:16 AM, Vik Tara<[email protected]> wrote:
OK - I checked the latest version. I no longer get the "file not found
error".
The receiver says it has started now, but I do not see any log lines.
In the terminal where I started chainsaw from, I get the exception pasted
below.
Am I doing something wrong?
Thanks
Vik
java.lang.StringIndexOutOfBoundsException: String index out of range: -31
at java.lang.String.substring(String.java:1768)
at
org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver.activateOptions(VFSLogFilePatternReceiver.java:317)
at
org.apache.log4j.chainsaw.receivers.ReceiversPanel$NewReceiverPopupMenu$1$1.actionPerformed(ReceiversPanel.java:784)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:535)
at java.awt.Dialog$2.run(Dialog.java:565)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:563)
at java.awt.Component.show(Component.java:1302)
at java.awt.Component.setVisible(Component.java:1255)
at
org.apache.log4j.chainsaw.receivers.ReceiversPanel$NewReceiverPopupMenu$1.actionPerformed(ReceiversPanel.java:791)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
at java.awt.Component.processMouseEvent(Component.java:5517)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5282)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3819)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1791)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
On 08/13/2010 09:02 AM, Scott Deboy wrote:
I've committed a change that resolves the VFS/jsch file load issue (at
least
with svn head revision) - commit was made to the Chainsaw module
(VFSLogFilePatternReceiver file).
If you have a few minutes, please update your working copy and let me know
if it resolves your issue.
I will update the version here (probably tomorrow sometime, when the
server
is available):
http://people.apache.org/~sdeboy/<http://people.apache.org/%7Esdeboy/>
Scott
On Thu, Aug 12, 2010 at 1:09 PM, Scott Deboy<[email protected]>
wrote:
Yeah I'll try it on Linux
Scott
On Thu, Aug 12, 2010 at 11:02 AM, Vik Tara<[email protected]> wrote:
On 08/12/2010 06:42 PM, Scott Deboy wrote:
There may be issues with the version on the website with Jsch requiring
known_hosts to be resolvable - I don't recall (the svn HEAD revision
doesn't
require this, but I've updated the version of Jsch being used by
Chainsaw
and I haven't tried it yet..
I did also checkout the code from trunk and build that - but still
didn't
work.
Got the same issue.
I'd suggest trying the version of Chainsaw here:
http://people.apache.org/~sdeboy/<http://people.apache.org/%7Esdeboy/>
<http://people.apache.org/%7Esdeboy/>
I'll check that out.
I'll try creating a VFS receiver to tail over ssh later and let you
know
if
there were any issues I had to resolve.
Awesome - that would be really helpful. Would you be doing this on
Linux?
Thanks
Vik
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]