Removed 1 unused import.
Fixed logging.