Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions content/deploy/admin/log-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ 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
}
}
}
```
Note this input flag was named logRequest until Dgraph version v23.

The response should look like the following:

```json
Expand Down Expand Up @@ -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" >}}).
[Audit Logging]({{< relref "enterprise-features/audit-logs.md" >}}).