Skip to content

Commit dacf6f4

Browse files
LojjsNataliaIvakinarenetapopova
authored
Deprecate failureReason column of JSON query log. (#2364)
Deprecate failureReason and recommend to use errorInfo instead --------- Co-authored-by: NataliaIvakina <[email protected]> Co-authored-by: Reneta Popova <[email protected]>
1 parent 268f7b6 commit dacf6f4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

modules/ROOT/pages/changes-deprecations-removals.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ It is highly recommended to keep it enabled and not to alter it. +
5757
If you require the _debug.log_ messages in a different format, create an additional Appender since the Neo4j Support team uses the default one.
5858
For more information, see xref:monitoring/logging.adoc#_default_logging_configuration[Default logging configuration].
5959

60+
6061
=== Built-in procedures
6162

6263
.See procedures removed in Neo4j 2025.01 without replacement.
@@ -517,6 +518,12 @@ Replaced by: xref:procedures.adoc#procedure_dbms_cluster_secondaryreplicationdis
517518
|===
518519
====
519520

521+
=== Logging
522+
523+
Starting from 2025.05, the `failureReason` column of the JSON format query log is deprecated.
524+
Instead, use the `errorInfo` column.
525+
For details, refer to xref:monitoring/logging.adoc#_json_format_log_entries[Logging -> JSON format log entries for log type query].
526+
520527
=== Neo4j-admin tool
521528

522529
.See all deprecated commands

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,9 +1285,10 @@ Included when xref:configuration/configuration-settings.adoc#config_db.logs.quer
12851285
| annotationData
12861286
| Metadata attached to the transaction.
12871287

1288-
| failureReason
1288+
| failureReason label:deprecated[Deprecated in 2025.05]
12891289
| Reason for failure.
12901290
Included when applicable.
1291+
Replaced by `errorInfo`.
12911292

12921293
| errorInfo
12931294
| GQL error information as a JSON object.

0 commit comments

Comments
 (0)