ISSUE-34, ISSUE-36, added logging for system events, changed error_log s...

ISSUE-34, ISSUE-36, added logging for system events, changed error_log statements to system logger output