logwatch: initial checkin of example code
better error handling on parsing out course_id