On Wed, Nov 19, 2008 at 5:45 PM, Thorbjørn Ravn Andersen <span dir="ltr">&lt;<a href="mailto:ravn@runjva.com">ravn@runjva.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Maarten Bosteels skrev:<br>
<div class="Ih2E3d">&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; I cannot count the times I&#39;ve pasted a stack trace in the Java Stack<br>
&gt; &nbsp; &nbsp; Trace pane on the Console to be able to navigate.<br>
&gt;<br>
&gt;<br>
&gt; I am not sure we&#39;re talking about the same thing, but have you heard<br>
&gt; of JumpToCode ?<br>
&gt; It&#39;s a plugin for IntelliJ IDEA that listens for &quot;jump to this code&quot;<br>
&gt; commands from external programs.<br>
&gt; Creating a similar plugin for eclipse is on my TODO list.<br>
&gt;<br>
&gt; The idea is that log-viewers such as Vigilog and Chainsaw show<br>
&gt; hyperlinks for every LocationInfo.<br>
&gt; When hyperlink is clicked a &quot;jump to code&quot; command is sent to your<br>
&gt; IDE, which will navigate to the corresponding code.<br>
&gt;<br>
&gt; This is already implemented in Vigilog. &nbsp;I still have to ask the<br>
&gt; chainsaw maintainers to see if they are also interested.<br>
</div>This is a very interesting thing, as I have asked the Eclipse folks the<br>
same thing a long time ago. &nbsp;Is there a way to communicate things back<br>
to Eclipse when running in a debugger and the answer was &quot;no&quot;.<br>
<br>
It would be really nice to have. &nbsp;My only concern is if a fellow<br>
coworker decides to tease me, and start sending bogus requests. &nbsp;Is<br>
there a password mechanism or so?</blockquote><div><br>You can specify on which interface and which port the plugin listens. By default it uses <a href="http://127.0.0.1">127.0.0.1</a> so it only listens for requests coming from localhost.<br>
I run vigilog and IDEA on two different PC&#39;s so I let the plugin listen on <a href="http://0.0.0.0">0.0.0.0</a>. No problems with co-workers so far :-)<br><br>There is no password mechanism, but it could be added of course. But I think problem could also be solved with iptables.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Otherwise an integration with the Eclipse plugin would be a good idea<br>
perhaps.</blockquote><div><br>Not sure:<br><br>The idea about navigating from logging-event to corresponding code was stolen from Log4jMonitor : another IDEA plugin similar to the eclipse logback plugin but more advanced. <br>
It uses a JTable instead of plain text and also has filtering options.<br>It worked really well. But it has a dependency on the Intellij API, and the plugin no longer works in recent versions of IDEA.<br><br>That&#39;s why I wanted a plugin that&#39;s as simple as possible =&gt; small dependency on IntelliJ API =&gt; higher chance of staying compatible and being maintained.<br>
=&gt; more time left to work on a nice logviewer that can be used by both eclipse and IDEA users.<br><br>Unfortunately the current release of Vigilog is IMO not really usable during development:<br>* it has no support to tail a file<br>
* it has no support for receiving log-events over a socket<br><br>I have added support for the latter, but it&#39;s not polished enough to be released. That&#39;s another thing on my TODO list.<br><br><a href="http://plugins.intellij.net/plugin/?id=13">http://plugins.intellij.net/plugin/?id=13</a><br>
<a href="http://www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin">http://www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin</a><br><br>regards, <br>Maarten<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c"> &nbsp;Thorbjørn Ravn Andersen &nbsp;&quot;...plus... Tubular Bells!&quot;<br>
<br>
_______________________________________________<br>
logback-dev mailing list<br>
logback-dev@qos.ch<br>
<a href="http://qos.ch/mailman/listinfo/logback-dev" target="_blank">http://qos.ch/mailman/listinfo/logback-dev</a><br>
</div></div></blockquote></div><br>