refactored printStackTrace(), now logging set to INFO