From ec88e57f67d27e198a3d9f388ae2c22b5aa1dbe0 Mon Sep 17 00:00:00 2001 From: Stephen Halter Date: Thu, 10 Sep 2015 11:39:14 -0700 Subject: [PATCH] Remove commented code in KestrelTrace --- .../Infrastructure/KestrelTrace.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs index 2a148ed302..5b758a02b2 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs @@ -32,7 +32,7 @@ namespace Microsoft.AspNet.Server.Kestrel public void ConnectionRead(long connectionId, int count) { // Don't log for now since this could be *too* verbose. - //_logger.LogVerbose(3, @"Connection id ""{ConnectionId}"" received ""{Count}"" bytes.", connectionId, count); + // Reserved: Event ID 3 } public void ConnectionPause(long connectionId) @@ -73,13 +73,13 @@ namespace Microsoft.AspNet.Server.Kestrel public void ConnectionWrite(long connectionId, int count) { // Don't log for now since this could be *too* verbose. - //_logger.LogVerbose(11, @"Connection id ""{ConnectionId}"" sent ""{Count}"" bytes.", connectionId, count); + // Reserved: Event ID 11 } public void ConnectionWriteCallback(long connectionId, int status) { // Don't log for now since this could be *too* verbose. - //_logger.LogVerbose(12, @"Connection id ""{ConnectionId}"" finished write with status ""{Status}"".", connectionId, status); + // Reserved: Event ID 12 } public void Log(LogLevel logLevel, int eventId, object state, Exception exception, Func formatter)