lib/ruby_skynet/server.rb in ruby_skynet-0.6.0 vs lib/ruby_skynet/server.rb in ruby_skynet-0.7.0

- old
+ new

@@ -203,16 +203,16 @@ logger.debug "Disconnected from the client" end # Registers a Service Class as being available at this server def register_service(klass) - logger.debug "Registering Service: #{klass.name} with name: #{klass.skynet_name}" + logger.info "Registering Service: #{klass.name} with name: #{klass.skynet_name}" ::RubySkynet.services.register_service(klass.skynet_name, klass.skynet_version || 1, klass.skynet_region, @hostname, @port) end # De-register service from this server def deregister_service(klass) - logger.debug "De-registering Service: #{klass.name} with name: #{klass.skynet_name}" + logger.info "De-registering Service: #{klass.name} with name: #{klass.skynet_name}" ::RubySkynet.services.deregister_service(klass.skynet_name, klass.skynet_version || 1, klass.skynet_region, @hostname, @port) end # Called for each message received from the client # Returns a Hash that is sent back to the caller