Add database logger.