Fixed an error on the logger import.