logging and page exception handling
Merge pull request #3 from bope/logging

logging and page exception handling