DZone: Your Personal Tech Universe NetBeans Zone
Published on NetBeans Zone (http://netbeans.dzone.com)
Visualize Log4J and JSR-47 Logging Events
By geertjan
Created 2008/04/30 - 12:55am

The cismet team in Saarland, Germany, have made available a free NetBeans plugin, called BeanMill, for visualizing, sorting, and evaluating your log messages.

The provided features are subtle and flexible, as can be seen from the list of main features:

  • Jump to the log messages in the editor
  • Jump to stacktrace elements in the editor
  • Filter with regular expressions
  • Filter with your editor selection on the fly
  • Show logmessages from certain classes
  • Export/Import logmessages via XML

The homepage for the plugin is http://blogs.cismet.de/gadgets/beanmill/ [1]. Handily, for NetBeans plugin developers, you can also download the plugin's sources there. Getting started with the Beanmill plugin is easy:

  1. Go to Tools | Plugins and and use the Settings tab to register the BeanMill update center:
    http://www.cismet.de/updatecenters/beanmill6/updates.xml [2]
  2. After adding you are able to download the plugin Beanmill Logging Viewer from the newly created update center:

  3. When the plugin is installed, you immediately see the BeanMill window:

    You can also show the BeanMill window by choosing Window | Beanmill from the menu bar.

  4. Now you can use the BeanMill window to evaluate your log message:

    There are several handy features, such as a filter:



    Go here [3] and click the camera to see a movie on everything that the BeanMill plugin provides.

AttachmentSize
beanmill-plugin.png [4]50.95 KB
benmill-window.png [5]20.04 KB
beanmill-1.png [6]70.47 KB
beanmill-2.png [7]21.62 KB

Source URL: http://netbeans.dzone.com/news/visualize-log4j-and-jsr-47-log

Links:
[1] http://blogs.cismet.de/gadgets/beanmill/
[2] http://www.cismet.de/updatecenters/beanmill6/updates.xml
[3] http://blogs.cismet.de/gadgets/beanmill/
[4] http://netbeans.dzone.com/sites/all/files/beanmill-plugin.png
[5] http://netbeans.dzone.com/sites/all/files/benmill-window.png
[6] http://netbeans.dzone.com/sites/all/files/beanmill-1.png
[7] http://netbeans.dzone.com/sites/all/files/beanmill-2.png