activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgo...@apache.org
Subject svn commit: r1187123 - in /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp: Connection.cs Transactions/RecoveryFileLogger.cs
Date Thu, 20 Oct 2011 22:49:55 GMT
Author: jgomes
Date: Thu Oct 20 22:49:55 2011
New Revision: 1187123

URL: http://svn.apache.org/viewvc?rev=1187123&view=rev
Log:
Change keep alive message logging to debug level.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Transactions/RecoveryFileLogger.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs?rev=1187123&r1=1187122&r2=1187123&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Connection.cs
Thu Oct 20 22:49:55 2011
@@ -694,8 +694,8 @@ namespace Apache.NMS.ActiveMQ
 					if(connected.Value)
 					{
 						transport.Oneway(command);
+						Tracer.Info("Oneway command sent to broker.");
 					}
-					Tracer.Info("Oneway command sent to broker.");
 				}
 				else
 				{
@@ -896,13 +896,13 @@ namespace Apache.NMS.ActiveMQ
 
 		protected void OnKeepAliveCommand(ITransport commandTransport, KeepAliveInfo info)
 		{
-			Tracer.Info("Keep alive message received.");
+			Tracer.Debug("Keep alive message received.");
 
 			try
 			{
 				if(connected.Value)
 				{
-					Tracer.Info("Returning KeepAliveInfo Response.");
+					Tracer.Debug("Returning KeepAliveInfo Response.");
 					info.ResponseRequired = false;
 					transport.Oneway(info);
 				}

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Transactions/RecoveryFileLogger.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Transactions/RecoveryFileLogger.cs?rev=1187123&r1=1187122&r2=1187123&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Transactions/RecoveryFileLogger.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.5.x/src/main/csharp/Transactions/RecoveryFileLogger.cs
Thu Oct 20 22:49:55 2011
@@ -258,7 +258,7 @@ namespace Apache.NMS.ActiveMQ.Transactio
                 }
                 catch(Exception ex)
                 {
-                    Tracer.InfoFormat("Error while opening Recovery file {0} error message:
{1}", Filename, ex.Message);
+                    Tracer.ErrorFormat("Error while opening Recovery file {0} error message:
{1}", Filename, ex.Message);
                     // Nothing to restore.
                     return null;
                 }



Mime
View raw message