Skip to content

Commit c52b1c0

Browse files
committed
add a few headings and captions
1 parent 2dcbf04 commit c52b1c0

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,8 @@ to using the `JsonTemplateLayout`:
11511151
</RollingRandomAccessFile>
11521152
----
11531153

1154+
==== JSON format log entries
1155+
11541156
The `QueryLogJsonLayout.json` template mimics the 4.x layout and contains the following information:
11551157

11561158
.JSON format log entries
@@ -1175,7 +1177,7 @@ The `QueryLogJsonLayout.json` template mimics the 4.x layout and contains the fo
11751177

11761178
If the type of the log entry is `query`, these additional fields are available:
11771179

1178-
.JSON format log entries
1180+
.JSON format log entries for log type `query`
11791181
[cols="1m,3a", options="header"]
11801182
|===
11811183
| Name
@@ -1240,8 +1242,8 @@ Included when xref:configuration/configuration-settings.adoc#config_db.logs.quer
12401242
Included when applicable.
12411243

12421244
| errorInfo
1243-
| (only from version 5.25) GQL error information as a JSON object.
1244-
See xref:monitoring/logging.adoc#gql-error-information[GQL error information] for details on the contents of the `errorInfo` JSON object.
1245+
| label:new[Introduced in 5.25] GQL error information as a JSON object.
1246+
See <<gql-error-information, GQL error information>> for details on the contents of the `errorInfo` JSON object.
12451247

12461248
| transactionId
12471249
| The transaction ID of the running query.
@@ -1254,7 +1256,7 @@ Included when xref:configuration/configuration-settings.adoc#config_db.logs.quer
12541256

12551257
If the type of the log entry is `transaction`, the following additional fields are available:
12561258

1257-
.JSON format log entries
1259+
.JSON format log entries for log type `transaction`
12581260
[cols="1m,3a", options="header"]
12591261
|===
12601262
| Name
@@ -1281,16 +1283,17 @@ Either same as `authenticatedUser` or an impersonated user.
12811283
[[gql-error-information]]
12821284
==== GQL error information
12831285

1284-
The query log includes GQL error information under the JSON object `errorInfo`.
1286+
The query log includes the GQL error information under the JSON object `errorInfo`.
12851287
`errorInfo` can contain the following elements:
12861288

12871289
* `GQLSTATUS` -- A 5-character long alpha-numeric code identifying the error.
12881290
* `statusDescription` -- A message describing the error.
12891291
* `classification` -- The type of error representing a division of client, transient, and database errors.
1290-
* `position` -- The position (a JSON object containing a field for `column`, `offset` and `line`) in the query where this error occurred.
1292+
* `position` -- The position (a JSON object containing a field for `column`, `offset`, and `line`) in the query where this error occurred.
12911293
* `cause` -- A JSON object containing the `errorInfo` JSON object of the cause of the current `errorInfo` JSON object.
12921294

12931295
The following are examples of the `errorInfo` JSON object:
1296+
12941297
.`errorInfo` JSON object of a database error
12951298
[source%linenums,xml,options="nowrap",highlight=4]
12961299
----

0 commit comments

Comments
 (0)