From 2323a378d98b4c8c3f8469433860b6ef3f713c06 Mon Sep 17 00:00:00 2001 From: Tor Colvin Date: Wed, 6 Mar 2024 18:39:40 -0500 Subject: [PATCH 1/2] CBG-3813 add insertion strings to capture stdout/stderr --- tools/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tasks.py b/tools/tasks.py index de30821d9b..09dee31443 100644 --- a/tools/tasks.py +++ b/tools/tasks.py @@ -562,7 +562,7 @@ def make_event_log_task(): "(LogFile='application' or LogFile='system') and " "EventType<3 and TimeGenerated>'%(limit)s'" "\" " - "get TimeGenerated,LogFile,SourceName,EventType,Message " + "get TimeGenerated,LogFile,SourceName,EventType,Message,InsertionStrings " "/FORMAT:list" % locals()) @@ -580,7 +580,7 @@ def make_event_log_task_sg_info(): "SourceName='SyncGateway' and " "TimeGenerated>'%(limit)s'" "\" " - "get TimeGenerated,LogFile,SourceName,EventType,Message " + "get TimeGenerated,LogFile,SourceName,EventType,Message,InsertionStrings " "/FORMAT:list" % locals()) From 8ceab876944ceea63a7345fc885eef386b43eeb5 Mon Sep 17 00:00:00 2001 From: Tor Colvin Date: Wed, 6 Mar 2024 19:04:14 -0500 Subject: [PATCH 2/2] Remove Message which is always going to say Incorrect function --- tools/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tasks.py b/tools/tasks.py index 09dee31443..8ec7972a5e 100644 --- a/tools/tasks.py +++ b/tools/tasks.py @@ -580,7 +580,7 @@ def make_event_log_task_sg_info(): "SourceName='SyncGateway' and " "TimeGenerated>'%(limit)s'" "\" " - "get TimeGenerated,LogFile,SourceName,EventType,Message,InsertionStrings " + "get TimeGenerated,LogFile,SourceName,EventType,InsertionStrings " "/FORMAT:list" % locals())