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

Sébastien Pennec sebastien at qos.ch
Fri Nov 23 19:38:19 CET 2007


Hello Maarten,

If I understand you well, your idea is more to link the Vigilog  
application with the Eclipse editor. Is that correct?

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.

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…

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




More information about the logback-dev mailing list