File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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" ,
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments