Refactored logging statements
Removed it, only for future reference