20140918 - added external logging