[System.Web] Use STDERR instead of STDOUT in LRUcache
authorAndres G. Aragoneses <knocte@gmail.com>
Fri, 26 Apr 2013 16:03:54 +0000 (17:03 +0100)
committerAndres G. Aragoneses <knocte@gmail.com>
Fri, 26 Apr 2013 16:03:54 +0000 (17:03 +0100)
As suggested by Marek Habersack

mcs/class/System.Web/System.Web.Configuration_2.0/LruCache.cs

index 37a8d37ce8bf41bf775bcc12d0cc3f6020776ac5..3bd959938dc9afb1015bcb2daf31b1f71a9f3f9c 100644 (file)
@@ -69,7 +69,7 @@ namespace System.Web.Configuration {
                        evictions++;
 
                        if (!String.IsNullOrEmpty (EvictionWarning) && !eviction_warning_shown && (evictions >= entry_limit)) {
-                               Console.WriteLine ("WARNING: " + EvictionWarning);
+                               Console.Error.WriteLine ("WARNING: " + EvictionWarning);
                                eviction_warning_shown = true;
                        }
                }