Fun with Java: Log4j appender using notify-send on ubuntu
January 18th, 2010
I’ve discovered yet another -maybe quite useless- trick to combine java-development, JBoss AS and Ubuntu (or any other debian-based distro).
I created a very simple log4j-appender which used notify-send (commandline-tool for libnotify) to report errors. This way I will get a visual notification when something went wrong, immediately showing the class of the error and the message.
As an example, I use my favorite Application Server, JBoss AS, but any java-app using log4j (or commons-logging on top of log4j or slf4j-log4j) will do.
Categories: Development, Java, Linux, Uncategorized | Tags: fun, Java, log4j, notify-send, ubuntu | 1 Comment





