Home
last modified time | relevance | path

Searched refs:log_path (Results 1 – 25 of 1194) sorted by relevance

12345678910>>...48

/dports/www/chromium-legacy/chromium-88.0.4324.182/base/test/
H A Dperf_test_suite.cc25 FilePath log_path = in Initialize() local
27 if (log_path.empty()) { in Initialize()
28 PathService::Get(FILE_EXE, &log_path); in Initialize()
32 log_path = tmp_dir.Append(log_path.BaseName()); in Initialize()
34 log_path = log_path.ReplaceExtension(FILE_PATH_LITERAL("log")); in Initialize()
35 log_path = log_path.InsertBeforeExtension(FILE_PATH_LITERAL("_perf")); in Initialize()
37 ASSERT_TRUE(InitPerfLog(log_path)); in Initialize()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/testing/
H A Dblink_perf_test_suite.cc28 base::FilePath log_path = in Initialize() local
30 if (log_path.empty()) { in Initialize()
31 base::PathService::Get(base::FILE_EXE, &log_path); in Initialize()
35 log_path = tmp_dir.Append(log_path.BaseName()); in Initialize()
37 log_path = log_path.ReplaceExtension(FILE_PATH_LITERAL("log")); in Initialize()
38 log_path = log_path.InsertBeforeExtension(FILE_PATH_LITERAL("_perf")); in Initialize()
40 ASSERT_TRUE(base::InitPerfLog(log_path)); in Initialize()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/testing/
H A Dblink_perf_test_suite.cc28 base::FilePath log_path = in Initialize() local
30 if (log_path.empty()) { in Initialize()
31 base::PathService::Get(base::FILE_EXE, &log_path); in Initialize()
35 log_path = tmp_dir.Append(log_path.BaseName()); in Initialize()
37 log_path = log_path.ReplaceExtension(FILE_PATH_LITERAL("log")); in Initialize()
38 log_path = log_path.InsertBeforeExtension(FILE_PATH_LITERAL("_perf")); in Initialize()
40 ASSERT_TRUE(base::InitPerfLog(log_path)); in Initialize()
/dports/devel/libunit/unit-1.26.1/test/
H A Dtest_usr1.py17 log_path = temp_dir + '/' + log
20 '"' + log_path + '"', 'access_log'
23 assert waitforfiles(log_path), 'open'
25 os.rename(log_path, temp_dir + '/' + log_new)
33 assert not os.path.isfile(log_path), 'rename old'
37 assert waitforfiles(log_path), 'reopen'
51 log_path = temp_dir + '/unit.log'
54 os.rename(log_path, log_path_new)
65 assert not os.path.isfile(log_path), 'rename old'
69 assert waitforfiles(log_path), 'reopen'
[all …]
/dports/www/unit-perl/unit-1.26.1/test/
H A Dtest_usr1.py17 log_path = temp_dir + '/' + log
20 '"' + log_path + '"', 'access_log'
23 assert waitforfiles(log_path), 'open'
25 os.rename(log_path, temp_dir + '/' + log_new)
33 assert not os.path.isfile(log_path), 'rename old'
37 assert waitforfiles(log_path), 'reopen'
51 log_path = temp_dir + '/unit.log'
54 os.rename(log_path, log_path_new)
65 assert not os.path.isfile(log_path), 'rename old'
69 assert waitforfiles(log_path), 'reopen'
[all …]
/dports/www/unit-python/unit-1.26.1/test/
H A Dtest_usr1.py17 log_path = temp_dir + '/' + log
20 '"' + log_path + '"', 'access_log'
23 assert waitforfiles(log_path), 'open'
25 os.rename(log_path, temp_dir + '/' + log_new)
33 assert not os.path.isfile(log_path), 'rename old'
37 assert waitforfiles(log_path), 'reopen'
51 log_path = temp_dir + '/unit.log'
54 os.rename(log_path, log_path_new)
65 assert not os.path.isfile(log_path), 'rename old'
69 assert waitforfiles(log_path), 'reopen'
[all …]
/dports/www/unit-php/unit-1.26.1/test/
H A Dtest_usr1.py17 log_path = temp_dir + '/' + log
20 '"' + log_path + '"', 'access_log'
23 assert waitforfiles(log_path), 'open'
25 os.rename(log_path, temp_dir + '/' + log_new)
33 assert not os.path.isfile(log_path), 'rename old'
37 assert waitforfiles(log_path), 'reopen'
51 log_path = temp_dir + '/unit.log'
54 os.rename(log_path, log_path_new)
65 assert not os.path.isfile(log_path), 'rename old'
69 assert waitforfiles(log_path), 'reopen'
[all …]
/dports/www/unit/unit-1.26.1/test/
H A Dtest_usr1.py17 log_path = temp_dir + '/' + log
20 '"' + log_path + '"', 'access_log'
23 assert waitforfiles(log_path), 'open'
25 os.rename(log_path, temp_dir + '/' + log_new)
33 assert not os.path.isfile(log_path), 'rename old'
37 assert waitforfiles(log_path), 'reopen'
51 log_path = temp_dir + '/unit.log'
54 os.rename(log_path, log_path_new)
65 assert not os.path.isfile(log_path), 'rename old'
69 assert waitforfiles(log_path), 'reopen'
[all …]
/dports/www/unit-java/unit-1.26.1/test/
H A Dtest_usr1.py17 log_path = temp_dir + '/' + log
20 '"' + log_path + '"', 'access_log'
23 assert waitforfiles(log_path), 'open'
25 os.rename(log_path, temp_dir + '/' + log_new)
33 assert not os.path.isfile(log_path), 'rename old'
37 assert waitforfiles(log_path), 'reopen'
51 log_path = temp_dir + '/unit.log'
54 os.rename(log_path, log_path_new)
65 assert not os.path.isfile(log_path), 'rename old'
69 assert waitforfiles(log_path), 'reopen'
[all …]
/dports/net/cloud-init/cloud-init-21.4/cloudinit/analyze/tests/
H A Dtest_boot.py88 outfh = open(log_path, 'w+')
95 outfh = open(log_path, 'w+')
101 if os.path.isfile(log_path):
102 os.remove(log_path)
109 log_path = path + '/boot-test.log'
111 self.set_up_dummy_file(path, log_path)
129 self.remove_dummy_file(path, log_path)
136 log_path = path + '/boot-test.log'
138 self.set_up_dummy_file(path, log_path)
147 self.remove_dummy_file(path, log_path)
[all …]
/dports/databases/pgroonga/pgroonga-2.3.4/expected/variable/log-path/
H A Dvalid.out8 SHOW pgroonga.log_path;
9 pgroonga.log_path
14 SET pgroonga.log_path = 'none';
15 SHOW pgroonga.log_path;
16 pgroonga.log_path
21 SET pgroonga.log_path = default;
22 SHOW pgroonga.log_path;
23 pgroonga.log_path
/dports/security/snort/snort-2.9.18/src/output-plugins/
H A Dspo_log_ascii.c179 char log_path[STD_BUF]; /* path to log file */ in OpenLogFile() local
193 memset((char *) log_path, 0, STD_BUF); in OpenLogFile()
232 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
254 SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, in OpenLogFile()
275 if(mkdir(log_path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)) in OpenLogFile()
281 log_path, strerror(errno)); in OpenLogFile()
300 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
303 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
310 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
313 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
[all …]
/dports/devel/py-jupyterlab/jupyterlab-3.1.14/jupyterlab/
H A Ddebuglog.py25 log_path = self.debug_log_path
26 if os.path.isdir(log_path):
27 log_path = os.path.join(log_path, 'jupyterlab-debug.log')
28 if not log_path:
29 handle, log_path = tempfile.mkstemp(prefix='jupyterlab-debug-', suffix='.log')
40 log_path, 'w', 'utf8', delay=True)
55 print('An error occurred. See the log file for details: ', log_path)
59 print('See the log file for details: ', log_path)
66 os.remove(log_path)
/dports/security/barnyard2-sguil/barnyard2-2-1.13/src/output-plugins/
H A Dspo_log_ascii.c194 char log_path[STD_BUF]; /* path to log file */ in OpenLogFile() local
242 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
268 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
289 if(mkdir(log_path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)) in OpenLogFile()
295 log_path, strerror(errno)); in OpenLogFile()
307 SnortSnprintf(log_file, STD_BUF, "%s/IP_FRAG%s", log_path, suffix); in OpenLogFile()
314 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
317 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
324 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
327 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
[all …]
/dports/security/barnyard2/barnyard2-2-1.13/src/output-plugins/
H A Dspo_log_ascii.c194 char log_path[STD_BUF]; /* path to log file */ in OpenLogFile() local
242 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
268 SnortSnprintf(log_path, STD_BUF, "%s/%s", barnyard2_conf->log_dir, in OpenLogFile()
289 if(mkdir(log_path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)) in OpenLogFile()
295 log_path, strerror(errno)); in OpenLogFile()
307 SnortSnprintf(log_file, STD_BUF, "%s/IP_FRAG%s", log_path, suffix); in OpenLogFile()
314 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
317 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
324 SnortSnprintf(log_file, STD_BUF, "%s/%s_%d-%d%s", log_path, in OpenLogFile()
327 SnortSnprintf(log_file, STD_BUF, "%s/%s:%d-%d%s", log_path, in OpenLogFile()
[all …]
/dports/misc/vifm/vifm-0.11/src/utils/
H A Dlog.c38 static void init(const char log_path[]);
42 init_logger(int verbosity_level, const char log_path[]) in init_logger() argument
47 init(log_path); in init_logger()
52 reinit_logger(const char log_path[]) in reinit_logger() argument
62 fprintf(log, " ===== Logger reinitialization to '%s' =====\n", log_path); in reinit_logger()
66 init(log_path); in reinit_logger()
70 init(const char log_path[]) in init() argument
72 if(is_null_or_empty(log_path)) in init()
77 log = os_fopen(log_path, "a"); in init()
82 fprintf(stderr, "Failed to open log file (%s): %s\n", log_path, in init()
/dports/benchmarks/py-zopkio/Zopkio-0.2.5/zopkio/
H A Dtest_utils.py37 def get_log_for_test(test_name, log_path, dt_format): argument
51 start_pos = _search_log_for_datetime(log_path, start_time, word_count)
52 end_pos = _search_log_for_datetime(log_path, end_time, word_count, reverse=True)
54 with open(log_path, 'r') as log:
59 def _search_log_for_datetime(log_path, dt, word_count, reverse=False): argument
69 with open(log_path, 'r') as log:
71 ubound = os.path.getsize(log_path)
80 return _linear_search_log_for_time(log_path, dt, word_count, lbound, ubound, reverse)
124 return _linear_search_log_for_time(log_path, dt, word_count, lbound, ubound, reverse)
128 def _linear_search_log_for_time(log_path, dt, word_count, lbound, ubound, reverse=False): argument
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/windows/
H A Dasync_status.ps116 $log_path = [System.IO.Path]::Combine($async_dir, $jid) variable
18 If(-not $(Test-Path $log_path)) variable
24 Remove-Item $log_path -Recurse variable
25 Exit-Json @{ansible_job_id=$jid; erased=$log_path}
34 $data_raw = Get-Content $log_path
43 Exit-Json @{results_file=$log_path; ansible_job_id=$jid; started=1; finished=0} variable
46 …Fail-Json @{ansible_job_id=$jid; results_file=$log_path; started=1; finished=1} "Could not parse j…
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/support/windows-integration/collections/ansible_collections/ansible/windows/plugins/modules/
H A Dasync_status.ps116 $log_path = [System.IO.Path]::Combine($async_dir, $jid) variable
18 If(-not $(Test-Path $log_path)) variable
24 Remove-Item $log_path -Recurse variable
25 Exit-Json @{ansible_job_id=$jid; erased=$log_path}
34 $data_raw = Get-Content $log_path
43 Exit-Json @{results_file=$log_path; ansible_job_id=$jid; started=1; finished=0} variable
46 …Fail-Json @{ansible_job_id=$jid; results_file=$log_path; started=1; finished=1} "Could not parse j…
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/support/windows-integration/plugins/modules/
H A Dasync_status.ps116 $log_path = [System.IO.Path]::Combine($async_dir, $jid) variable
18 If(-not $(Test-Path $log_path)) variable
24 Remove-Item $log_path -Recurse variable
25 Exit-Json @{ansible_job_id=$jid; erased=$log_path}
34 $data_raw = Get-Content $log_path
43 Exit-Json @{results_file=$log_path; ansible_job_id=$jid; started=1; finished=0} variable
46 …Fail-Json @{ansible_job_id=$jid; results_file=$log_path; started=1; finished=1} "Could not parse j…
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/support/windows-integration/collections/ansible_collections/ansible/windows/plugins/modules/
H A Dasync_status.ps116 $log_path = [System.IO.Path]::Combine($async_dir, $jid)
18 If(-not $(Test-Path $log_path))
24 Remove-Item $log_path -Recurse
25 Exit-Json @{ansible_job_id=$jid; erased=$log_path}
34 $data_raw = Get-Content $log_path
43 Exit-Json @{results_file=$log_path; ansible_job_id=$jid; started=1; finished=0}
46 …Fail-Json @{ansible_job_id=$jid; results_file=$log_path; started=1; finished=1} "Could not parse j…
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/support/windows-integration/plugins/modules/
H A Dasync_status.ps116 $log_path = [System.IO.Path]::Combine($async_dir, $jid) variable
18 If(-not $(Test-Path $log_path)) variable
24 Remove-Item $log_path -Recurse variable
25 Exit-Json @{ansible_job_id=$jid; erased=$log_path}
34 $data_raw = Get-Content $log_path
43 Exit-Json @{results_file=$log_path; ansible_job_id=$jid; started=1; finished=0} variable
46 …Fail-Json @{ansible_job_id=$jid; results_file=$log_path; started=1; finished=1} "Could not parse j…
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ansible/windows/plugins/modules/
H A Dasync_status.ps116 $log_path = [System.IO.Path]::Combine($async_dir, $jid) variable
18 If(-not $(Test-Path -LiteralPath $log_path)) variable
24 Remove-Item -LiteralPath $log_path -Recurse variable
25 Exit-Json @{ansible_job_id=$jid; erased=$log_path}
34 $data_raw = Get-Content -LiteralPath $log_path
43 Exit-Json @{results_file=$log_path; ansible_job_id=$jid; started=1; finished=0} variable
46 …Fail-Json @{ansible_job_id=$jid; results_file=$log_path; started=1; finished=1} "Could not parse j…
/dports/x11-wm/qtile/qtile-0.18.1/libqtile/
H A Dlog_utils.py75 def init_log(log_level=WARNING, log_path=True, log_truncate=False, argument
95 if log_path:
96 if not isinstance(log_path, str):
104 log_path = os.path.join(data_directory, '%s.log')
106 log_path %= 'qtile'
109 log_path = os.path.expanduser(log_path)
111 with open(log_path, "w"):
114 log_path,
/dports/security/snort/snort-2.9.18/src/detection-plugins/
H A Dsp_session.c370 char log_path[STD_BUF]; in OpenSessionFile() local
382 memset((char *)log_path, 0, STD_BUF); in OpenSessionFile()
390 … SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, inet_ntoa(GET_SRC_ADDR(p))); in OpenSessionFile()
396 … SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, inet_ntoa(GET_SRC_ADDR(p))); in OpenSessionFile()
408 … SnortSnprintf(log_path, STD_BUF, "%s/%s", snort_conf->log_dir, inet_ntoa(GET_DST_ADDR(p))); in OpenSessionFile()
424 if(mkdir(log_path,S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)) in OpenSessionFile()
429 log_path,strerror(errno)); in OpenSessionFile()
436 SnortSnprintf(session_file, STD_BUF, "%s/SESSION_%d-%d", log_path, p->sp, p->dp); in OpenSessionFile()
438 SnortSnprintf(session_file, STD_BUF, "%s/SESSION:%d-%d", log_path, p->sp, p->dp); in OpenSessionFile()
444 SnortSnprintf(session_file, STD_BUF, "%s/SESSION_%d-%d", log_path, p->dp, p->sp); in OpenSessionFile()
[all …]

12345678910>>...48