/netbeans-log-watcher

Netbeans plugin for listening to log files

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

NetBeans Log Watcher

This module provides a tool to monitor log changes in the Output tab. This acts similar like a linux tail -f done in a log folder.

Image

Compatibility

  • NetBeans version 12.2+
  • Java version 1.8+

Installation

Manually

First, download the latest NBM package. Or download it from the nbm folder in this repository. Then proceed through the menu Tools > Plugins > Downloaded > Add Plugins...

Apache NetBeans Plugin Portal Update Center

Go to Tools > Plugins > Available Plugins, check NetBeans Case Converter in the Editing section, then click the Install button.

Usage

Add a folder

  1. Open the Services window (Window > Services)
  2. Click on the Log Watcher icon
  3. Right click -> Click on Add folder
  4. Select a folder and click OK

Image

Add a file

  1. Open the Services window (Window > Services)
  2. Click on the Log Watcher icon
  3. Right click -> Click on Add a log file
  4. Select a the file and click OK

Start watching

  • Right click on a folder and select Watch

Features

  • Filter files to watch for changes
  • Mark folders which don't exist anymore as broken
  • Colored output for lines which contain exception
  • Stop watch
  • Clear log output
  • Open folders and file in the host filesystem

Known issues

  • The add folder takes some time. This is a issue with the swing JFileChooser library
  • Jtree not working properly on older netbeans versions < 18