Resolved logging issues, enhanced logging on different levels