diff --git a/content/deploy/admin/log-format.md b/content/deploy/admin/log-format.md index 04daab7d..12975d5c 100644 --- a/content/deploy/admin/log-format.md +++ b/content/deploy/admin/log-format.md @@ -45,7 +45,7 @@ You can dynamically turn request logging on or off. To toggle request logging on ```graphql mutation { - config(input: {logRequest: true}) { + config(input: {logDQLRequest: true}) { response { code message @@ -53,6 +53,8 @@ mutation { } } ``` +Note this input flag was named logRequest until Dgraph version v23. + The response should look like the following: ```json @@ -114,4 +116,4 @@ mutation { With a Dgraph enterprise license, you can enable audit logging so that all requests are tracked and available for use in security audits. To learn more, see -[Audit Logging]({{< relref "enterprise-features/audit-logs.md" >}}). \ No newline at end of file +[Audit Logging]({{< relref "enterprise-features/audit-logs.md" >}}).