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

logging update.