Searched refs:logfile (Results 26 - 50 of 51) sorted by relevance

123

/freebsd-11-stable/contrib/unbound/daemon/
H A Dunbound.c187 size_t misc = 4; /* logfile, pidfile, stdout... */
279 free(cfg->logfile);
280 cfg->logfile = NULL;
495 log_init(cfg->logfile, cfg->use_syslog, cfg->chrootdir);
497 /* if using a logfile, we cannot open it because the logfile would
500 * So, using a logfile, the user does not see errors unless -d is
655 log_init(cfg->logfile, cfg->use_syslog, cfg->chrootdir);
704 log_init(cfg->logfile, 0, cfg->chrootdir);
809 log_init(NULL, 0, NULL); /* close logfile */
[all...]
/freebsd-11-stable/crypto/heimdal/appl/gssmask/
H A Dgssmaestro.c37 static FILE *logfile; variable
590 fprintf(logfile, "%s:%lu: %s\n",
592 fflush(logfile);
669 if (logfile) {
688 fclose(logfile);
788 printf("open logfile %s\n", logfile_str);
789 logfile = fopen(logfile_str, "w+");
790 if (logfile == NULL)
H A Dgssmask.c61 FILE *logfile; variable
81 if (logfile)
82 fprintf(logfile, "%s:%u: %d %s\n", file, lineno, level, message);
1177 { "logfile", 0, arg_string, &logfile_str, "logfile",
1233 logfile = fopen(lf, "w");
1234 if (logfile == NULL)
1239 fprintf(logfile, "connected\n");
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dgen.c40 FILE *privheaderfile, *headerfile, *codefile, *logfile, *templatefile; variable
247 logfile = fopen(fn, "w");
248 if (logfile == NULL)
293 if (logfile)
294 fprintf (logfile, "\n");
295 fclose (logfile);
353 fprintf(logfile, "%s ", filename);
/freebsd-11-stable/contrib/less/
H A Doptfunc.c64 extern int logfile;
118 if (logfile >= 0)
133 if (logfile < 0)
H A Dmain.c37 public int logfile = -1; variable
/freebsd-11-stable/usr.sbin/etcupdate/
H A Detcupdate.sh67 [-A patterns] [-D destdir] [-I patterns] [-L logfile]
69 etcupdate build [-B] [-d workdir] [-s source] [-L logfile] [-M options]
71 etcupdate diff [-d workdir] [-D destdir] [-I patterns] [-L logfile]
72 etcupdate extract [-B] [-d workdir] [-s source | -t tarball] [-L logfile]
74 etcupdate resolve [-p] [-d workdir] [-D destdir] [-L logfile]
80 # Used to write a message prepended with '>>>' to the logfile.
/freebsd-11-stable/contrib/amd/amd/
H A Damq_subr.c187 if (gopt.logfile && opt->as_str
188 && STREQ(gopt.logfile, opt->as_str)) {
H A Damd.c272 gopt.logfile = NULL;
H A Damd.h269 char *logfile; /* amd log file */ member in struct:amu_global_options
H A Dconf.c740 gopt.logfile = xstrdup(val);
/freebsd-11-stable/crypto/openssh/
H A Dssh.c516 char *p, *cp, *line, *argv0, buf[PATH_MAX], *host_arg, *logfile; local
605 logfile = NULL;
641 logfile = optarg;
1006 if (use_syslog && logfile != NULL)
1008 if (logfile != NULL)
1009 log_redirect_stderr_to(logfile);
H A Dsshd.c1391 char *fp, *line, *laddr, *logfile = NULL; local
1464 logfile = optarg;
1561 /* If requested, redirect the logs to the specified logfile. */
1562 if (logfile != NULL)
1563 log_redirect_stderr_to(logfile);
/freebsd-11-stable/contrib/libarchive/libarchive/test/
H A Dmain.c262 static FILE *logfile; variable
272 if (logfile != NULL)
274 vfprintf(logfile, fmt, lfap);
277 vfprintf(logfile, fmt, ap);
2644 logfile = fopen(logfilename, "w");
2645 fprintf(logfile, "%s\n\n", tests[i].name);
2681 fclose(logfile);
2682 logfile = NULL;
2683 /* If there were no failures, we can remove the work dir and logfile. */
/freebsd-11-stable/crypto/heimdal/tools/
H A Dkdc-log-analyze.pl497 } elsif (/newsyslog.*logfile turned over/) {
/freebsd-11-stable/contrib/unbound/smallapp/
H A Dunbound-checkconf.c610 if(cfg->logfile && cfg->logfile[0]) {
611 char* ad = fname_after_chroot(cfg->logfile, cfg, 1);
614 fatal_exit("logfile directory does not exist");
/freebsd-11-stable/contrib/amd/include/
H A Dam_utils.h310 extern int switch_to_logfile(char *logfile, int orig_umask, int truncate_log);
/freebsd-11-stable/contrib/unbound/libunbound/
H A Dcontext.c70 log_init(cfg->logfile, cfg->use_syslog, NULL);
/freebsd-11-stable/contrib/unbound/util/
H A Dconfig_file.h310 char* logfile; member in struct:config_file
H A Dconfig_file.c184 if(!(cfg->logfile = strdup(""))) goto error_exit;
493 } else if(strcmp(opt, "logfile:") == 0) {
495 free(cfg->logfile);
496 return (cfg->logfile = strdup(val)) != NULL;
1034 else O_STR(opt, "logfile", logfile)
1490 free(cfg->logfile);
H A Dconfigparser.y1179 free(cfg_parser->cfg->logfile);
1180 cfg_parser->cfg->logfile = $2;
/freebsd-11-stable/contrib/libarchive/test_utils/
H A Dtest_main.c390 static FILE *logfile; variable
400 if (logfile != NULL)
402 vfprintf(logfile, fmt, lfap);
405 vfprintf(logfile, fmt, ap);
3543 logfile = fopen(logfilename, "w");
3544 fprintf(logfile, "%s\n\n", tests[i].name);
3580 fclose(logfile);
3581 logfile = NULL;
3582 /* If there were no failures, we can remove the work dir and logfile. */
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_user.c1150 if (cmdcnf->logfile == NULL)
1151 cmdcnf->logfile = cfg->logfile;
/freebsd-11-stable/usr.sbin/newsyslog/
H A Dnewsyslog.c120 /* messages to logfile(s) when rotating. */
205 time_t t; /* Parsed timestamp of the logfile */
272 static const char *get_logfile_suffix(const char *logfile);
594 * Figure out if this logfile needs to be rotated.
743 * logfile is rotated, and if a file *is* rotated,
897 * logfile, if multiple entries are an exact match for
1387 * later processing if this logfile needs to be rotated.
1469 * Check whether the file corresponding to dp is an archive of the logfile
1495 /* Ignore everything but files with our logfile prefix. */
1498 /* Ignore the actual non-rotated logfile
1722 get_logfile_suffix(const char *logfile) argument
[all...]
/freebsd-11-stable/sys/netinet/
H A Dsiftr.c306 SYSCTL_PROC(_net_inet_siftr, OID_AUTO, logfile, CTLTYPE_STRING|CTLFLAG_RW,

Completed in 459 milliseconds

123