logger.c :Enable log