Searched refs:log_file (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-11-stable/usr.sbin/ctm/ctm_rmail/
H A Derror.h3 extern void err_set_log(char *log_file);
H A Derror.c35 err_set_log(char *log_file) argument
39 if ((fp = fopen(log_file, "a")) == NULL)
40 err("cannot log to '%s'", log_file);
H A Dctm_rmail.c62 char *log_file = NULL; local
79 STRING('l', log_file)
88 if (log_file != NULL)
89 err_set_log(log_file);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dwin32_crashrpt.c168 FILE *log_file = (FILE *)data; local
172 fprintf(log_file, FORMAT_PTR, (UINT_PTR)module.BaseOfImage);
173 fprintf(log_file, " %s", buf);
176 fprintf(log_file, " (%d.%d.%d.%d, %d bytes)\n",
190 FILE *log_file)
198 fprintf(log_file,
202 fprintf(log_file,
206 fprintf(log_file,
212 fprintf(log_file,
218 fprintf(log_file,
189 write_process_info(EXCEPTION_RECORD *exception, CONTEXT *context, FILE *log_file) argument
264 write_basic_type(FILE *log_file, DWORD basic_type, DWORD64 length, void *address) argument
312 write_value(FILE *log_file, DWORD64 mod_base, DWORD type, void *value_addr) argument
395 FILE *log_file; member in struct:symbols_baton_t
407 FILE *log_file = ((symbols_baton_t*)baton)->log_file; local
445 write_function_detail(STACKFRAME64 stack_frame, int nr_of_frame, FILE *log_file) argument
516 write_stacktrace(CONTEXT *context, FILE *log_file) argument
720 FILE *log_file; local
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-server/
H A DLLDBServerUtilities.h18 static bool SetupLogging(const std::string &log_file,
H A DLLDBServerUtilities.cpp23 static std::shared_ptr<raw_ostream> GetLogStream(StringRef log_file) { argument
24 if (!log_file.empty()) {
27 log_file, EC, sys::fs::OF_Text | sys::fs::OF_Append);
32 log_file, EC.message());
38 bool LLDBServerUtilities::SetupLogging(const std::string &log_file, argument
42 auto log_stream_sp = GetLogStream(log_file);
H A Dlldb-platform.cpp154 std::string log_file; local
189 log_file.assign(optarg);
247 if (!LLDBServerUtilities::SetupLogging(log_file, log_channels, 0))
H A Dlldb-gdbserver.cpp378 std::string log_file; local
407 log_file.assign(optarg);
479 log_file, log_channels,
/freebsd-11-stable/contrib/openpam/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
100 do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/freebsd-11-stable/contrib/ntp/sntp/libevent/build-aux/
H A Dtest-driver54 log_file= # Where to save the output of the test script.
64 --log-file) log_file=$2; shift;;
78 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
100 do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/freebsd-11-stable/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectLog.cpp79 CommandOptions() : Options(), log_file(), log_options(0) {}
90 log_file.SetFile(option_arg, FileSpec::Style::native);
91 FileSystem::Instance().Resolve(log_file); variable
128 log_file.Clear();
138 FileSpec log_file; member in class:CommandObjectLogEnable::CommandOptions
161 char log_file[PATH_MAX]; variable
162 if (m_options.log_file)
163 m_options.log_file.GetPath(log_file, sizeof(log_file));
[all...]
/freebsd-11-stable/usr.sbin/ctm/ctm_dequeue/
H A Dctm_dequeue.c64 char *log_file = NULL; local
78 STRING('l', log_file)
84 if (log_file)
85 err_set_log(log_file);
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Ddestroy_s.c58 free (c->log_file);
H A Dcontext_s.c113 ctx->log_context.log_file = strdup(p);
127 if (ctx->log_context.log_file == NULL)
128 asprintf(&ctx->log_context.log_file, "%s/log", hdb_db_dir(context));
H A Dprivate.h74 char *log_file; member in struct:kadm5_log_context
H A Dinit_s.c57 assert(ctx->log_context.log_file != NULL);
/freebsd-11-stable/contrib/gdb/gdb/
H A Dremote-st.c57 FILE *log_file; variable
97 putc (c & 0x7f, log_file);
168 fflush (log_file);
302 log_file = fopen (LOG_FILE, "w");
303 if (log_file == NULL)
325 if (log_file)
327 if (ferror (log_file))
329 if (fclose (log_file) != 0)
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_log.c467 IN uint8_t log_flags, IN const char *log_file,
476 p_log->log_file_name = (char *)log_file;
481 if (log_file == NULL || !strcmp(log_file, "-") ||
482 !strcmp(log_file, "stdout"))
484 else if (!strcmp(log_file, "stderr"))
496 IN uint8_t log_flags, IN const char *log_file,
499 return osm_log_init_v2(p_log, flush, log_flags, log_file, 0,
466 osm_log_init_v2(IN osm_log_t * p_log, IN boolean_t flush, IN uint8_t log_flags, IN const char *log_file, IN unsigned long max_size, IN boolean_t accum_log_file) argument
495 osm_log_init(IN osm_log_t * p_log, IN boolean_t flush, IN uint8_t log_flags, IN const char *log_file, IN boolean_t accum_log_file) argument
/freebsd-11-stable/crypto/heimdal/lib/hdb/
H A Ddbinfo.c42 char *log_file; member in struct:hdb_dbinfo
79 p = krb5_config_get_string(context, db_binding, "log_file", NULL);
81 di->log_file = strdup(p);
213 return dbp->log_file;
234 free (di->log_file);
/freebsd-11-stable/contrib/unbound/util/
H A Dlog.h90 void log_file(FILE *f);
/freebsd-11-stable/usr.sbin/ctm/ctm_smail/
H A Dctm_smail.c58 char *log_file = NULL; local
69 STRING('l', log_file)
76 if (log_file != NULL)
77 err_set_log(log_file);
/freebsd-11-stable/usr.sbin/lpr/lpd/
H A Drecvjob.c116 if (open(pp->log_file, O_WRONLY|O_APPEND, 0664) < 0) {
117 syslog(LOG_ERR, "%s: %m", pp->log_file);
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_log.h302 IN uint8_t log_flags, IN const char *log_file,
318 * log_file
364 IN uint8_t log_flags, IN const char *log_file,
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dmain.c646 const char *log_file = NULL; local
705 log_file = optarg;
772 if (log_file)
773 wpa_debug_open_file(log_file);
921 if (log_file)
/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dprintcap.c229 &pp->log_file));
341 cfree(pp->log_file);

Completed in 216 milliseconds

12