Add logging [refs #3]