mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Merge release branch 4.8 to master
* 4.8: Additional exception logging for Cloudstack-9285
This commit is contained in:
		
						commit
						f313facb87
					
				| @ -227,6 +227,7 @@ public class Agent implements HandlerFactory, IAgentControl { | |||||||
|         try { |         try { | ||||||
|             _connection.start(); |             _connection.start(); | ||||||
|         } catch (final NioConnectionException e) { |         } catch (final NioConnectionException e) { | ||||||
|  |             s_logger.warn("NIO Connection Exception  " + e); | ||||||
|             s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again..."); |             s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again..."); | ||||||
|         } |         } | ||||||
|         while (!_connection.isStartup()) { |         while (!_connection.isStartup()) { | ||||||
| @ -235,6 +236,7 @@ public class Agent implements HandlerFactory, IAgentControl { | |||||||
|             try { |             try { | ||||||
|                 _connection.start(); |                 _connection.start(); | ||||||
|             } catch (final NioConnectionException e) { |             } catch (final NioConnectionException e) { | ||||||
|  |                 s_logger.warn("NIO Connection Exception  " + e); | ||||||
|                 s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again..."); |                 s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again..."); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| @ -412,6 +414,7 @@ public class Agent implements HandlerFactory, IAgentControl { | |||||||
|             try { |             try { | ||||||
|                 _connection.start(); |                 _connection.start(); | ||||||
|             } catch (final NioConnectionException e) { |             } catch (final NioConnectionException e) { | ||||||
|  |                 s_logger.warn("NIO Connection Exception  " + e); | ||||||
|                 s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again..."); |                 s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again..."); | ||||||
|             } |             } | ||||||
|             _shell.getBackoffAlgorithm().waitBeforeRetry(); |             _shell.getBackoffAlgorithm().waitBeforeRetry(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user