Skip to content

Commit 085e411

Browse files
committed
rename files
1 parent 027cd4f commit 085e411

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

base/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const (
157157
FromConnStrWarningThreshold = 10 * time.Second
158158

159159
// StackFilePrefix is the prefix used when writing stack trace files
160-
StackFilePrefix = "sg_goroutines_"
160+
StackFilePrefix = "sg_stack_trace_"
161161
)
162162

163163
// SyncGatewayRawDocXattrs is a list of xattrs that Sync Gateway will fetch when reading a raw document.

tools-tests/sgcollect_info_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_make_collect_logs_stacktrace(tmpdir):
8181
).encode("utf-8")
8282
),
8383
):
84-
stacktrace_file = tmpdir.join("sg_goroutines.log")
84+
stacktrace_file = tmpdir.join("sg_stack_trace.log")
8585
stacktrace_file.write("foo")
8686
tasks = sgcollect.make_collect_logs_tasks(
8787
sg_url="fakeurl",

tools/sgcollect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def make_http_client_stack_trace_task(
291291
name="Collect stack trace via http client",
292292
auth_headers=auth_headers,
293293
url=stack_trace_url,
294-
log_file="sg_goroutines.log",
294+
log_file="sg_stack_trace.log",
295295
)
296296
stack_trace_task.no_header = True
297297

@@ -386,7 +386,7 @@ def make_collect_logs_tasks(
386386
"sg_debug.log": "sg_debug.log",
387387
"sg_trace.log": "sg_trace.log",
388388
"sg_stats.log": "sg_stats.log",
389-
"sg_goroutines.log": "sg_goroutines.log",
389+
"sg_stack_trace.log": "sg_stack_trace.log",
390390
"sync_gateway_access.log": "sync_gateway_access.log",
391391
"sync_gateway_error.log": "sync_gateway_error.log",
392392
"pprof.pb": "pprof.pb",

0 commit comments

Comments
 (0)