Replaced prints with logging
Re-tuned logger config