Cleaned up logger: