From 622e0aae21619da9cbc2c17f72b18059b8c9af24 Mon Sep 17 00:00:00 2001 From: Edoardo Spadolini Date: Fri, 7 Jan 2022 17:36:52 +0100 Subject: [PATCH] Fix log file location for vendorless (#9689) --- lib/config/formatter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/formatter.go b/lib/config/formatter.go index 6df66c79820d0..b4082d37b1088 100644 --- a/lib/config/formatter.go +++ b/lib/config/formatter.go @@ -342,7 +342,7 @@ func formatCallerWithPathAndLine() (path string) { return "" } -var frameIgnorePattern = regexp.MustCompile(`github\.com/(S|s)irupsen/logrus`) +var frameIgnorePattern = regexp.MustCompile(`github\.com/(gravitational|(S|s)irupsen)/logrus`) // findFrames positions the stack pointer to the first // function that does not match the frameIngorePattern