summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId.Test/Hosting/HttpHost.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-08-08 16:54:14 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2008-08-08 16:54:14 -0700
commite66d63e39f1dc4dafaf6ac78b36b34ba49fdcad5 (patch)
tree12a29dd265e6b4bf0a0b0782cc3df78eac06e2b5 /src/DotNetOpenId.Test/Hosting/HttpHost.cs
parent96cbcaec96d67236244977b0caeb0ff7ec01b749 (diff)
downloadDotNetOpenAuth-e66d63e39f1dc4dafaf6ac78b36b34ba49fdcad5.zip
DotNetOpenAuth-e66d63e39f1dc4dafaf6ac78b36b34ba49fdcad5.tar.gz
DotNetOpenAuth-e66d63e39f1dc4dafaf6ac78b36b34ba49fdcad5.tar.bz2
Switched test library over to log4net for trace logging.
Diffstat (limited to 'src/DotNetOpenId.Test/Hosting/HttpHost.cs')
-rw-r--r--src/DotNetOpenId.Test/Hosting/HttpHost.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenId.Test/Hosting/HttpHost.cs b/src/DotNetOpenId.Test/Hosting/HttpHost.cs
index d6e73ab..dc69848 100644
--- a/src/DotNetOpenId.Test/Hosting/HttpHost.cs
+++ b/src/DotNetOpenId.Test/Hosting/HttpHost.cs
@@ -73,10 +73,10 @@ namespace DotNetOpenId.Test.Hosting {
return sr.ReadToEnd();
}
} catch (WebException ex) {
- Console.Error.WriteLine(ex);
+ TestSupport.Logger.Error("Exception in HttpHost", ex);
using (StreamReader sr = new StreamReader(ex.Response.GetResponseStream())) {
string streamContent = sr.ReadToEnd();
- Console.Error.WriteLine(streamContent);
+ TestSupport.Logger.ErrorFormat("Error content stream follows: {0}", streamContent);
}
throw;
}