[smuxi: 5/5] Engine: removed logging noise



commit 7f385b3e8d73d942e43d1726e6f190471c688ef5
Author: Mirco Bauer <meebey meebey net>
Date:   Sun Feb 23 18:00:37 2014 +0100

    Engine: removed logging noise

 src/Engine/MessageBuffers/Db4oMessageBuffer.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Engine/MessageBuffers/Db4oMessageBuffer.cs b/src/Engine/MessageBuffers/Db4oMessageBuffer.cs
index 138621c..d22416a 100644
--- a/src/Engine/MessageBuffers/Db4oMessageBuffer.cs
+++ b/src/Engine/MessageBuffers/Db4oMessageBuffer.cs
@@ -646,7 +646,7 @@ namespace Smuxi.Engine
             Database.Store(f_Index);
             Database.Commit();
             stop = DateTime.UtcNow;
-#if LOG4NET
+#if LOG4NET && MSGBUF_DEBUG
             Logger.Debug(
                 String.Format(
                     "FlushIndex(): flushing index with {0} items took: {1} ms",
@@ -668,7 +668,7 @@ namespace Smuxi.Engine
             FlushCounter = 0;
             Database.Commit();
             stop = DateTime.UtcNow;
-#if LOG4NET
+#if LOG4NET && MSGBUF_DEBUG
             Logger.Debug(
                 String.Format(
                     "Flush(): flushing {0} items took: {1} ms",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]