2008:ApacheLogNotifier

From Marks Wiki
Revision as of 01:32, 14 June 2009 by Mark (Sọ̀rọ̀ | contribs)
Jump to navigation Jump to search

Apache Log Notifier

A notification of google visiting my site!

Using java and ubuntus NotifyOSD via the notification demon, I have created a small program to poll the tail of my apache log and notify me whenever there is interesting activity. At the moment I ignoring localhost and bots, so that I can see if an actual person has just come to visit my website. There is a lot of work and refactoring to be done. My initial prototype is just a rushed couple of hours work (thanks to reusing the tale code from //http://www.informit.com/guides/content.aspx?g=java&seqNum=226).