Change logger import in database