Replaced all "ex.printStackTrace()" with "logger.error"
Merge pull request #13 from mkalb/logging

Replaced all "ex.printStackTrace()" with "logger.error"