Update logger.c