Searched refs:logfile (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-13-stable/tests/sys/cddl/zfs/include/
H A Dlogapi.kshlib125 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 Dpw_log.c42 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 Dpwupd.h64 char *logfile; /* Where to log changes */ member in struct:userconf
/freebsd-13-stable/contrib/ntp/sntp/
H A Dlog.c26 const char *logfile
29 change_logfile(logfile, FALSE);
H A Dlog.h23 void open_logfile(const char *logfile);
/freebsd-13-stable/usr.sbin/pw/tests/
H A Dpw-modified.conf24 logfile = "/var/log/userlog"
H A Dpw.conf24 logfile = "/var/log/userlog"
/freebsd-13-stable/contrib/kyua/utils/logging/
H A Doperations.cpp108 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 Dtest.pl33 $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 Dsanity.cpp60 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 Dvalidation-reporter.sh14 # 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 Dparseunbound.pl32 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 Dlog.c66 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 Disctest.c94 isc_test_begin(FILE *logfile, isc_boolean_t start_managers) { argument
104 if (logfile != NULL) {
112 destination.file.stream = logfile;
H A Disctest.h51 isc_test_begin(FILE *logfile, isc_boolean_t start_managers);
/freebsd-13-stable/crypto/heimdal/lib/asn1/
H A Dgen_locl.h94 extern FILE *privheaderfile, *headerfile, *codefile, *logfile, *templatefile;
/freebsd-13-stable/contrib/kyua/integration/
H A Dglobal_test.sh74 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 Dntp-groper25 logfile=/tmp/cntp-log$$
91 # ) >> $logfile
/freebsd-13-stable/contrib/ntp/scripts/monitoring/
H A Dntploopstat15 ;# 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 Dmain.cpp180 "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 Dedit.c39 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 Dch.c136 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 Dzts-report.py.in138 '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 Dlog.c369 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 Dfsx.c977 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);

Completed in 123 milliseconds

12