Skip to content

Commit 2495ede

Browse files
committed
do not attempt to log result when TRACE on start, makes no sense
1 parent f5ed04a commit 2495ede

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Elasticsearch.Net/Connection/RequestState/TransportRequestState.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,10 @@ public TransportRequestState(
114114

115115
if (this._traceEnabled)
116116
{
117-
Trace.TraceInformation("NEST start:{0} {1} {2}:\r\n{3}"
117+
Trace.TraceInformation("NEST start:{0} {1} {2}"
118118
, this._requestId
119119
, _result.RequestMethod
120120
, _result.RequestUrl
121-
, _result
122121
);
123122
}
124123

0 commit comments

Comments
 (0)