From 8b4e854864883d790497e7c4cc302f819b6e2bce Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Wed, 4 Jan 2023 13:54:43 +0100 Subject: syz-ci: do logging per job processor Now that we might have two, it might be helpful to split the logs. --- tools/syz-linter/linter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/syz-linter/linter.go b/tools/syz-linter/linter.go index b52e907ba..c92e7bb88 100644 --- a/tools/syz-linter/linter.go +++ b/tools/syz-linter/linter.go @@ -296,7 +296,7 @@ func (pass *Pass) logFormatArg(n *ast.CallExpr) (arg int, newLine, sure bool) { return -1, false, false } switch fmt.Sprintf("%v.%v", fun.X, fun.Sel) { - case "log.Print", "log.Printf", "log.Fatal", "log.Fatalf", "fmt.Error", "fmt.Errorf": + case "log.Print", "log.Printf", "log.Fatal", "log.Fatalf", "fmt.Error", "fmt.Errorf", "jp.Logf": return 0, false, true case "log.Logf": return 1, false, true -- cgit mrf-deployment