optimize logger.c