Agged logging feature
Ready for code review