diff --git a/graphql/schema/types/logging.graphql b/graphql/schema/types/logging.graphql index 397a27f10..adab16401 100644 --- a/graphql/schema/types/logging.graphql +++ b/graphql/schema/types/logging.graphql @@ -2,6 +2,7 @@ scalar Time enum LogLevel { + Trace Debug Info Progress diff --git a/pkg/api/resolver_subscription_logging.go b/pkg/api/resolver_subscription_logging.go index d4f8706af..db6b9c8b2 100644 --- a/pkg/api/resolver_subscription_logging.go +++ b/pkg/api/resolver_subscription_logging.go @@ -11,6 +11,8 @@ func getLogLevel(logType string) models.LogLevel { switch logType { case "progress": return models.LogLevelProgress + case "trace": + return models.LogLevelTrace case "debug": return models.LogLevelDebug case "info":