summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/querylanguage.md6
-rw-r--r--internal/mapr/setcondition.go2
2 files changed, 3 insertions, 5 deletions
diff --git a/doc/querylanguage.md b/doc/querylanguage.md
index 96d0fd1..2819a77 100644
--- a/doc/querylanguage.md
+++ b/doc/querylanguage.md
@@ -29,8 +29,8 @@ COND := ARG1 OPERATOR ARG2
ARG := This is either
a string: "foo bar"
a float number: 3.14
- a bareword e.g.: responsecode
- a field or a $variable
+ a bareword (aka a field) e.g.: responsecode
+ or a $variable
OPERATOR := This is one of ...
Floating point operators:
== != < <= > >=
@@ -39,7 +39,7 @@ OPERATOR := This is one of ...
GROUPFIELD := bareword|$variable
ORDERFIELD := This must be a AGGREGATION(FIELD) or FIELD which was specified in
select clause already.
-LOGFORMAT := The name of the log format implementation. It's 'default' by default.
+LOGFORMAT := The name of the log format implementation. It's "default" by default.
```
Note, that the available fields and variables vary from the log format used. There is also a subtle difference between a field and a variable. Check out the [log format](./logformats.md) documentation for more information.
diff --git a/internal/mapr/setcondition.go b/internal/mapr/setcondition.go
index 208b079..68bb28b 100644
--- a/internal/mapr/setcondition.go
+++ b/internal/mapr/setcondition.go
@@ -6,7 +6,6 @@ import (
"strconv"
"strings"
- "github.com/mimecast/dtail/internal/io/dlog"
"github.com/mimecast/dtail/internal/mapr/funcs"
)
@@ -68,7 +67,6 @@ func makeSetConditions(tokens []token) (set []setCondition, err error) {
if err != nil {
return nil, err
}
- dlog.Client.Trace(sc)
set = append(set, sc)
tokens = tokensConsumeOptional(tokens, ",")
}