Skip to content

Commit 7ab84d8

Browse files
committed
COLDBOX-1288 #resolve
disabling pretty print of json on extra info string. Leaving this to be used manually instead as it can consume cycles prettifying it.
1 parent f04868f commit 7ab84d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

system/logging/LogEvent.cfc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ component accessors="true" {
9494
structKeyExists( variables.extraInfo, "detail" )
9595
) {
9696
var messageString = [
97-
"Message: #variables.extraInfo.message#",
98-
"Detail: #variables.extraInfo.detail#",
99-
"Stacktrace: #variables.extraInfo.stacktrace#"
97+
"[Message] : #variables.extraInfo.message#",
98+
"[Detail] : #variables.extraInfo.detail#",
99+
"[Stacktrace] : #variables.extraInfo.stacktrace#"
100100
];
101101
return arrayToList( messageString, chr( 13 ) & chr( 10 ) );
102102
}
@@ -107,7 +107,7 @@ component accessors="true" {
107107
}
108108

109109
// Complex values, return serialized in json
110-
return getUtil().toPrettyJson( variables.extraInfo );
110+
return getUtil().toJSON( variables.extraInfo );
111111
}
112112

113113
}

0 commit comments

Comments
 (0)