logging update.
Merge pull request #37 from birkin/master

logging update.