Lines Matching refs:logfile
28 static char logfile[PATH_MAX] =
39 char *logfile;
51 strcpy(logfile, logf);
84 if ((returnCtx->logfile = strdup(name)) == NULL) {
88 openlog(returnCtx->logfile, OPENLOG_OPTIONS, facility);
130 if ((logsize > 0) && (stat(logfile, &statbuf) == 0 &&
133 (void) sprintf(newlog1, "%s.%d", logfile, i-1);
134 (void) sprintf(newlog2, "%s.%d", logfile, i);
141 (void) rename(logfile, newlog1);
147 logfd = fopen(logfile, "a");