lib/apnserver/server.rb in bpoweski-apnserver-0.0.12 vs lib/apnserver/server.rb in bpoweski-apnserver-0.0.14
- old
+ new
@@ -9,10 +9,10 @@
@bind_address, @port = bind_address, port
end
def start!
EventMachine::run do
- puts "#{Time.now} Starting APN Server on #{bind_address}:#{port}"
+ $logger.info "Starting APN Server on #{bind_address}:#{port}"
EM.start_server(bind_address, port, ApnServer::ServerConnection) do |s|
s.queue = @queue
end