Home
last modified time | relevance | path

Searched refs:log_file (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectLog.cpp95 log_file.SetFile(option_arg, FileSpec::Style::native); in SetOptionValue()
96 FileSystem::Instance().Resolve(log_file); in SetOptionValue()
142 log_file.Clear(); in OptionParsingStarting()
152 FileSpec log_file; member in CommandObjectLogEnable::CommandOptions
188 if (m_options.handler != eLogHandlerStream && m_options.log_file) { in DoExecute()
197 char log_file[PATH_MAX]; in DoExecute() local
198 if (m_options.log_file) in DoExecute()
199 m_options.log_file.GetPath(log_file, sizeof(log_file)); in DoExecute()
201 log_file[0] = '\0'; in DoExecute()
206 channel, args.GetArgumentArrayRef(), log_file, m_options.log_options, in DoExecute()
[all …]
/freebsd/contrib/llvm-project/lldb/tools/lldb-server/
H A DLLDBServerUtilities.cpp38 static std::shared_ptr<TestLogHandler> GetLogStream(StringRef log_file) { in GetLogStream() argument
39 if (!log_file.empty()) { in GetLogStream()
42 log_file, EC, sys::fs::OF_TextWithCRLF | sys::fs::OF_Append); in GetLogStream()
47 log_file, EC.message()); in GetLogStream()
54 bool LLDBServerUtilities::SetupLogging(const std::string &log_file, in SetupLogging() argument
58 auto log_stream_sp = GetLogStream(log_file); in SetupLogging()
H A Dlldb-platform.cpp132 std::string log_file; in main_platform() local
167 log_file.assign(optarg); in main_platform()
227 if (!LLDBServerUtilities::SetupLogging(log_file, log_channels, 0)) in main_platform()
H A DLLDBServerUtilities.h22 static bool SetupLogging(const std::string &log_file,
H A Dlldb-gdbserver.cpp336 std::string log_file; in main_gdbserver() local
393 log_file = Args.getLastArgValue(OPT_log_file).str(); in main_gdbserver()
414 log_file, log_channels, in main_gdbserver()
H A DLLGSOptions.td38 defm log_file: SJ<"log-file", "Destination file to log to. If empty, log to stderr.">,
/freebsd/contrib/openpam/
H A Dtest-driver56 log_file= # Where to save the output of the test script.
66 --log-file) log_file=$2; shift;;
80 test x"$log_file" = x && missing_opts="$missing_opts --log-file"
111 : >"$log_file"
112 "$@" >>"$log_file" 2>&1
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
/freebsd/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"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/freebsd/contrib/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"
107 "$@" >$log_file 2>&1
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_log.c467 IN uint8_t log_flags, IN const char *log_file, in osm_log_init_v2() argument
476 p_log->log_file_name = (char *)log_file; in osm_log_init_v2()
481 if (log_file == NULL || !strcmp(log_file, "-") || in osm_log_init_v2()
482 !strcmp(log_file, "stdout")) in osm_log_init_v2()
484 else if (!strcmp(log_file, "stderr")) in osm_log_init_v2()
496 IN uint8_t log_flags, IN const char *log_file, in osm_log_init() argument
499 return osm_log_init_v2(p_log, flush, log_flags, log_file, 0, in osm_log_init()
H A Dmain.c906 SET_STR_OPT(opt.log_file, optarg); in main()
1157 if (opt.log_file != NULL) in main()
1158 printf(" Log File: %s\n", opt.log_file); in main()
/freebsd/crypto/heimdal/lib/hdb/
H A Ddbinfo.c42 char *log_file; member
81 di->log_file = strdup(p); in get_dbinfo()
213 return dbp->log_file; in hdb_dbinfo_get_log_file()
234 free (di->log_file); in hdb_free_dbinfo()
/freebsd/crypto/heimdal/lib/kadm5/
H A Dcontext_s.c113 ctx->log_context.log_file = strdup(p); in find_db_spec()
127 if (ctx->log_context.log_file == NULL) in find_db_spec()
128 asprintf(&ctx->log_context.log_file, "%s/log", hdb_db_dir(context)); in find_db_spec()
H A Ddestroy_s.c58 free (c->log_file); in destroy_kadm5_log_context()
H A Dprivate.h74 char *log_file; member
H A Dlog.c100 fd = open (log_context->log_file, O_RDWR | O_CREAT, 0600); in kadm5_log_init()
104 log_context->log_file); in kadm5_log_init()
110 log_context->log_file); in kadm5_log_init()
134 fd = open (log_context->log_file, O_RDWR | O_CREAT | O_TRUNC, 0600); in kadm5_log_reinit()
H A Dinit_s.c57 assert(ctx->log_context.log_file != NULL); in kadm5_s_init_with_context()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DDiagnostics.cpp104 FileSpec log_file = dir.CopyByAppendingPathComponent("diagnostics.log");
106 llvm::raw_fd_ostream stream(log_file.GetPath(), ec, llvm::sys::fs::OF_None); in DumpDiangosticsLog() local
/freebsd/contrib/wpa/hostapd/
H A Dmain.c769 const char *log_file = NULL; in main() local
831 log_file = optarg; in main()
900 if (log_file) in main()
901 wpa_debug_open_file(log_file); in main()
902 if (!log_file && !wpa_debug_syslog) in main()
1054 if (log_file) in main()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_log.h302 IN uint8_t log_flags, IN const char *log_file,
364 IN uint8_t log_flags, IN const char *log_file,
/freebsd/usr.sbin/lpr/lpd/
H A Drecvjob.c104 if (open(pp->log_file, O_WRONLY|O_APPEND, 0664) < 0) { in recvjob()
105 syslog(LOG_ERR, "%s: %m", pp->log_file); in recvjob()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_online/
H A Dzpool_online_001_pos.ksh90 log_file "Pool didn't resilver after online"
/freebsd/contrib/unbound/util/
H A Dlog.h90 void log_file(FILE *f);
/freebsd/usr.sbin/lpr/common_source/
H A Dprintcap.c223 &pp->log_file)); in getprintcap_int()
335 cfree(pp->log_file); in free_printer()
/freebsd/contrib/unbound/libunbound/
H A Dcontext.c66 log_file(NULL); /* clear that override */ in context_finalize()
71 log_file(ctx->log_out); in context_finalize()

12