Fix notice in SQL logger.