/freebsd-13-stable/tests/sys/cddl/zfs/include/ |
H A D | logapi.kshlib | 125 typeset logfile="$TMPDIR/log.$$" 128 while [[ -e $logfile ]]; do 129 logfile="$logfile.$$" 132 "$@" 2>$logfile 134 out="/bin/cat $logfile" 169 _recursive_output $logfile "false" 177 typeset logfile="$TMPDIR/log.$$" 179 while [[ -e $logfile ]]; do 180 logfile [all...] |
/freebsd-13-stable/usr.sbin/pw/ |
H A D | pw_log.c | 42 static FILE *logfile = NULL; variable 54 if (cnf->logfile == NULL || cnf->logfile[0] == '\0') { 58 if (logfile == NULL) { 60 fd = open(cnf->logfile, O_WRONLY | O_CREAT | O_APPEND, 0600); 64 logfile = fdopen(fd, "a"); 65 if (logfile == NULL) { 116 vfprintf(logfile, nfmt, argp); 118 fflush(logfile);
|
H A D | pwupd.h | 64 char *logfile; /* Where to log changes */ member in struct:userconf
|
/freebsd-13-stable/contrib/ntp/sntp/ |
H A D | log.c | 26 const char *logfile 29 change_logfile(logfile, FALSE);
|
H A D | log.h | 23 void open_logfile(const char *logfile);
|
/freebsd-13-stable/usr.sbin/pw/tests/ |
H A D | pw-modified.conf | 24 logfile = "/var/log/userlog"
|
H A D | pw.conf | 24 logfile = "/var/log/userlog"
|
/freebsd-13-stable/contrib/kyua/utils/logging/ |
H A D | operations.cpp | 108 std::auto_ptr< std::ostream > logfile; member in struct:__anon1010::global_state 224 if (globals->logfile.get() == NULL) 228 (*globals->logfile) << message << '\n'; 229 globals->logfile->flush(); 245 if (globals->logfile.get() != NULL) { 247 globals->logfile->flush(); 248 globals->logfile.reset(NULL); 275 PRE(globals->logfile.get() == NULL); 290 globals->logfile = utils::open_ostream(path); 299 (*globals->logfile) << (*ite [all...] |
/freebsd-13-stable/lib/libpathconv/tests/ |
H A D | test.pl | 33 $logfile = 'err'; 88 open(LOG, ">$logfile") || die("cannot open log file '$logfile'.\n"); 141 open(LOG, $logfile) || die("log file not found.\n");
|
/freebsd-13-stable/contrib/kyua/utils/ |
H A D | sanity.cpp | 60 static std::string logfile; member in namespace:__anon1023 88 PRE(!logfile.empty()); 91 err_write(F("*** Log file is %s\n") % logfile); 188 logfile = logfile_;
|
/freebsd-13-stable/contrib/unbound/contrib/ |
H A D | validation-reporter.sh | 14 # The logfile to watch for logged validation failures. 15 logfile="/var/log/unbound.log" 19 # and writes one log-line to it (grepped from the logfile). 30 tail -F $logfile | grep --line-buffered "unbound.*info: validation failure" | \
|
H A D | parseunbound.pl | 32 my $logfile = shift or die "Usage: parseunbound.pl --cron unboundlogfile"; 33 my $in = new FileHandle $logfile or die "Cannot open $logfile: $!\n"; 61 if ( $offset > -s $logfile or $offset > 10_000_000 ) { 62 die "Cannot find stats in $logfile\n"; 64 $in->seek(-$offset, SEEK_END) or croak "cannot seek $logfile: $!\n";
|
/freebsd-13-stable/contrib/unbound/util/ |
H A D | log.c | 66 static FILE* logfile = 0; variable 69 /** pthread key for thread ids in logfile */ 95 if(logfile 105 if(logfile && logfile != stderr) { 106 FILE* cl = logfile; 107 logfile = NULL; /* set to NULL before it is closed, so that 108 other threads have a valid logfile or NULL */ 137 logfile = stderr; 148 log_err("Could not open logfile [all...] |
/freebsd-13-stable/contrib/ntp/lib/isc/tests/ |
H A D | isctest.c | 94 isc_test_begin(FILE *logfile, isc_boolean_t start_managers) { argument 104 if (logfile != NULL) { 112 destination.file.stream = logfile;
|
H A D | isctest.h | 51 isc_test_begin(FILE *logfile, isc_boolean_t start_managers);
|
/freebsd-13-stable/crypto/heimdal/lib/asn1/ |
H A D | gen_locl.h | 94 extern FILE *privheaderfile, *headerfile, *codefile, *logfile, *templatefile;
|
/freebsd-13-stable/contrib/kyua/integration/ |
H A D | global_test.sh | 74 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log 87 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log 103 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log \ 120 atf_check -s exit:3 -o empty -e ignore kyua --logfile=test.log \
|
/freebsd-13-stable/contrib/ntp/scripts/deprecated/ |
H A D | ntp-groper | 25 logfile=/tmp/cntp-log$$ 91 # ) >> $logfile
|
/freebsd-13-stable/contrib/ntp/scripts/monitoring/ |
H A D | ntploopstat | 15 ;# The format written to the logfile is the same as used by xntpd 18 ;# remote servers where you do not have access to the loopstats logfile. 62 $0 [-d<delay>] [-t<timeout>] [-l <logfile>] [-v] [ntpserver] 78 @ARGV || die("$0: logfile missing after -l\n$usage"); 79 $logfile = shift; 105 ;# logfile defaults to include server name 109 $logfile = "loopstats:$ntpserver." unless defined($logfile); 391 local($fname,$suff) = ($logfile);
|
/freebsd-13-stable/contrib/kyua/cli/ |
H A D | main.cpp | 180 "logfile", "Path to the log file", "file", 205 const fs::path logfile(cmdline.get_option< cmdline::path_option >( 206 "logfile")); 207 fs::mkdir_p(logfile.branch_path(), 0755); 208 LD(F("Log file is %s") % logfile); 209 utils::install_crash_handlers(logfile.str()); 212 "loglevel"), logfile);
|
/freebsd-13-stable/contrib/less/ |
H A D | edit.c | 39 extern int logfile; 827 logfile = creat(filename, 0644); 833 logfile = open(filename, OPEN_APPEND); 834 if (lseek(logfile, (off_t)0, SEEK_END) == BAD_LSEEK) 836 close(logfile); 837 logfile = -1; 854 if (logfile < 0) 857 * Error in opening logfile. 863 SET_BINARY(logfile);
|
H A D | ch.c | 136 extern int logfile; 288 if (!secure && logfile >= 0 && n > 0) 289 write(logfile, (char *) &bp->data[bp->datasize], n); 385 * Close the logfile. 393 if (logfile < 0) 398 ierror("Finishing logfile", NULL_PARG); 403 close(logfile); 404 logfile = -1; 432 write(logfile, (char *) bp->data, bp->datasize);
|
/freebsd-13-stable/sys/contrib/openzfs/tests/test-runner/bin/ |
H A D | zts-report.py.in | 138 'logfile': "Could not determine logfile location." 365 summary['logfile'] = m.group(1) 377 print("Log directory: %s" % summary['logfile'])
|
/freebsd-13-stable/crypto/openssh/ |
H A D | log.c | 369 log_redirect_stderr_to(const char *logfile) argument 373 if ((fd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0600)) == -1) { 374 fprintf(stderr, "Couldn't open logfile %s: %s\n", logfile,
|
/freebsd-13-stable/tools/regression/fsx/ |
H A D | fsx.c | 977 char logfile[1024]; local 981 logfile[0] = 0; 1093 strncpy(logfile, optarg, sizeof(logfile)); 1094 strcat(logfile, "/"); 1157 strncat(logfile, fname, 256); 1158 strcat (logfile, ".fsxlog"); 1159 fsxlogf = fopen(logfile, "w"); 1161 prterr(logfile);
|