[logback-dev] improving Logback Console Plugin with Table instead of List

Maarten Bosteels mbosteels.dns at gmail.com
Fri Nov 23 20:42:33 CET 2007


On Nov 23, 2007 7:38 PM, Sébastien Pennec <sebastien at qos.ch> wrote:
> Hello Maarten,
>
> If I understand you well, your idea is more to link the Vigilog
> application with the Eclipse editor. Is that correct?

Indeed. And to link vigilog with IntelliJ as well (in fact I don't use
eclipse at all)

>
> What we wanted to do with the Console Plugin is to integrate the
> display of the logs inside the IDE, so that it is as convenient as
> possible for the developer, and as close as possible to the source code.

I understand.

>
> That is also why we added the filtering functions: they allow the
> developer to filter her log statements after they have been issued. Or
> why we made the configuration in the logback.xml file as short as
> possible: it all must be very convenient and easy to reach.
>
> Given our initial goal, I'm not too keen on making the plugin evolve
> to a window outside of the IDE…

No problem. It wasn't my intention to evolve the existing Console plugin.
It's my intention to create a new plugin that can receive GoTo
commands from external applications (not only from vigilog but froma
ll kind of applications)

The benefits I see are
1) both IntelliJ users and eclipse users could benefit from the effort
put into vigilog
2) developing the plugin will probably be rather easy (no gui
integration needed)
important for me since I have zero experience writing plugins for
eclipse, and almost no experience writing plugins for idea.

Since Karl was asking whether someone was working on it, I decided to
communicate my intentions..
By no means did I want to discourage him (or anyone else) to improve
the Logback Console.
Also note that it might take years before I find the time to actually
implement my ideas ;-)

regards
Maarten

> Best Regards,
>
> Sébastien
>
> Le 23 nov. 07 à 08:57, Maarten Bosteels a écrit :
>
>
> > On Nov 23, 2007 7:46 AM, Karl Pietrzak <kap4020 at gmail.com> wrote:
> >> Thanks for the feedback, Maarten!
> >>
> >> Correct me if I'm wrong, but vigilog is written in Swing (as
> >> opposed to
> >> SWT).  Do you foresee this being a significant porting issue?
> >
> > Hi Karl,
> >
> > No, since it's not my intention to run vigilog *inside* the IDE.
> > The idea is that vigilog runs as a stand-alone application (as it
> > already does) but with the plugin I have in mind, you would be able to
> > jump from vigilog to the corresponding class and line in your IDE
> > (that would be IntelliJ IDEA in my case).
> >
> > I am not sure it will work, for example bringing the eclipse (or idea)
> > window to the front from vigilog.
> > But since there is already the Log4jMonitor plugin for IntelliJ that
> > is able to jump to the correct class and line, I assume it's possible.
> >
> > Currently the Log4jMonitor plugin does not work correctly in idea 7,
> > but it's working perfectly in idea 6, and I have never experienced
> > performance issues.
> >
> > regards
> > Maarten
> >
> >>
> >>
> >>
> >> On Nov 22, 2007 8:28 AM, Maarten Bosteels <
> >> mbosteels.dns at gmail.com> wrote:
> >>> Hello Karl,
> >>>
> >>> I am not working on the Logback Console Plugin, but I agree that a
> >>> JTable
> >> would be much better than just text.
> >>>
> >>> But instead of enhancing the current plugin, this is what I had in
> >>> mind:
> >>> * enhance vigilog [1] in several ways (ability to taill a log-
> >>> file, to
> >> receive logging events over a socket, ...)
> >>> * create a plugin for Eclipse and for IntelliJ IDEA that listens
> >>> on a
> >> socket for commands like
> >>>    "goto:org.some.package.MyCoolClass:172"  => plugin will then
> >>> open an
> >> editor window for the specified class and line
> >>> * vigilog could then create hyperlinks for all logging events that
> >>> have a
> >> locationInfo and for stacktraces
> >>>
> >>> This way, we can concentrate on enhancing vigilog and both eclipse
> >>> and
> >> idea users benefit.
> >>>
> >>> Note that I am not yet a vigilog contributor, and it could take a
> >>> long
> >> time before all this is accomplished.
> >>> Just wanted to let you know what I have in mind.
> >>>
> >>> And if you want to add a JTable to the Console Plugin, it might be
> >> interesting to have a look at the vigilog source code.
> >>> It uses glazedlists and JxTable.
> >>>
> >>> [1] http://vigilog.sourceforge.net/
> >>>
> >>> Regards
> >>> Maarten
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Nov 22, 2007 4:27 AM, Karl Pietrzak < kap4020 at gmail.com> wrote:
> >>>
> >>>>
> >>>>
> >>>>
> >>>> Hey everyone!
> >>>>
> >>>> Logback looks awesome!  Is anyone (besides me) interested in
> >>>> having a
> >> Table instead of List in the Logback Console Plugin?
> >>>>
> >>>> I'm thinking about spending some time on this.  Anyone wanna join
> >>>> me?
> >> (e.g., I'll add Table support and someone else does sorting-by-
> >> column?)
> >>>>
> >>>> Thanks, and keep up the great work!
> >>>> _______________________________________________
> >>>> logback-dev mailing list
> >>>> logback-dev at qos.ch
> >>>> http://qos.ch/mailman/listinfo/logback-dev
> >>>>
> >>>>
> >>>
> >>>
> >>> _______________________________________________
> >>> logback-dev mailing list
> >>> logback-dev at qos.ch
> >>> http://qos.ch/mailman/listinfo/logback-dev
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> logback-dev mailing list
> >> logback-dev at qos.ch
> >> http://qos.ch/mailman/listinfo/logback-dev
> >>
> >>
> > _______________________________________________
> > logback-dev mailing list
> > logback-dev at qos.ch
> > http://qos.ch/mailman/listinfo/logback-dev
>
> _______________________________________________
> logback-dev mailing list
> logback-dev at qos.ch
> http://qos.ch/mailman/listinfo/logback-dev
>


More information about the logback-dev mailing list