create log.c