Whatever you do, don’t panic!
Log4Twitter
Log4Twitter is very similar to an idea Herbert an me had a couple of years ago, to use a Jabber messaging framework to get distributed logging and alerts from several servers/applications.
It is a Java class that allows you to “log” to Twitter. This would easily allow you to set up an application that sends messages to a private Twitter Account that you can subscribe to. Retrieving those messages should then be possible by IM or even SMS, seems like a perfect set up for me.
Using Log4Twitter is as easy as the following:
Setting Classpath
Add log4twitter-1.0.jar to your application’s classpath.
Note that log4twitter-1.0.jar has to be loaded by the same classloader that will load the logging framework.Setting Logger
Edit your logging framework’s configuration to enable Log4Twitter.
The fully qualified class name of log4twitter is “log4twitter.FRAMEWORK_NAME.TwitterAppender”.
See the Log4Twitter page for some examples.
Now who’s got the time to code a Linux syslogd replacement or supplement, so I can receive important log messages via Twitter?
| Print article | This entry was posted by Florian Beer on 30. May, 2007 at 16:01, and is filed under Development, Linux, Server, Web. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No trackbacks yet.
Klout score
about 1 year ago - No comments
I’ve recently succumbed to peer pressure and registered myself in the vanity game called Klout. What it does is basically tell you how “influential” you are across several different social networking channels (mainly Twitter and Facebook) and how far your “reach” is. I have to admit, it is kind of fun to see your own…
The Apple Schism
about 1 year ago - No comments
With the introduction of Apple’s newest operating system OS X 10.7 Lion, the company has taken one step further to disconnect their users from other competing user interaction schemes. Let me elaborate on this rather strong statement by going back in history a bit. I can still remember, when I got my first Mac, it…
Morning News Update, November 11 2010
about 2 years ago - No comments
Today I’m posting some interesting videos about the Boxee Box, Friends for iPhone and Google Refine. And Facebook invites journalists to yet another press event possibly concerning Facebook’s message System. Google Refine A new Google tool, that surprisingly is not a webservice, but a program that you download and interact with via your webbrowser on…
GoAccess – Visual Apache Log Analyzer
about 2 years ago - 3 comments
Description GoAccess is a very handy tool, that runs in the terminal on most *nix Systems (e.g. Linux, Mac OS X, BSD etc.) and displays relatime data gathered from Apache’s access logfile. It offers a very structured display with different “modules” that break down the parsed access.log data into sections: General Statistics – Information analyzed…
Morning News Update, November 4 2010
about 2 years ago - No comments
Google released an Apache module that auto tunes performance Google has announced that they are launching a module for the Apache HTTP server called mod_pagespeed, that will automatically tune several properties to optimize page load speed. I haven’t tried it out yet, but will definitely do so. Amongst other things, mod_pagespeed will: recompress images modify…
Morning News Update, October 29 2010
about 2 years ago - No comments
Microsoft unveils new IE9 Developer Preview and Test Drive site Microsoft is continuing to push on its Internet Explorer 9 (IE9) project, hoping to continue early momentum that has brought some new sheen to the venerable brand. The company is releasing a new Developer Preview, the 6th for IE9, and a new Test Drive website to…
Morning News Update, October 28 2010
about 2 years ago - No comments
Myspace Accused Of Ripping Off Stealth Startup Pinterest This morning Pinterest co-founders Ben Silberman, Paul Sciarra and Yashwanth Nelapati woke up to a barrage of tweets, “So @myspace has completely ripped off @pinterest. It really pisses me off when an old, tired hack tries to undermine hardworking inovators. [sic]“ Myspace revealed its new redesign last night and Pinterest…
Morning News Update, October 27 2010
about 2 years ago - No comments
Google donates $5 million to promote journalism Google has donated $5 million to non-profit organizations promoting new forms of journalism, including $2 million to the Knight Foundation, which will but $1 million of that toward the the Knight News Challenge. PayPal Announces Micropayment System and Facebook Partnership The company calls PayPal for Digital Goods the…
Morning News Update, October 21 2010
about 2 years ago - No comments
Apple announces Mac OS X Lion with some superb new features. OS X Lion will be available in Summer 2011. In about 90 days Apple will open an App Store for OS X Apps, thereby bringing iOS closer to it’s desktop sibling. FaceTime is now available for OS X so you can start video chats…
Morning News Update, October 20 2010
about 2 years ago - No comments
Today we’re somehow in between yesterdays geek fight between Apple and Google over the openess and/or integration of Apple’s iOS and Google’s Android mobile operating system and tonights Apple event. Developer Joe Hewitt, who for example built the great Firefox Extension Firebug and the first few versions of the great Facebook iPhone App, has now…













about 5 years ago
i still think, that the jabber idea would be much better then the twitter solution.
about a server.
ok, twitter hypes now – but jabber server are build for all important OS and little bit python or perl makes it possible to send messages via this server.
only people registered on it can get the information – more secure, more private – thats the it should be for syslog information