add logging facility

added during the bloodmoon of April 14/15, 2014