diff --git a/src/main.rs b/src/main.rs index 4fcb72e..6cba73e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,6 +71,8 @@ fn run_forever(config: &Config) -> Result<(), ProcessingError> { ), config.history_size ); + + info("Starting RTR listener..."); let (notify, rtr) = rtr_listener(history.clone(), &CONFIG); @@ -155,7 +157,7 @@ fn run_once(config: &Config) -> Result<(), ProcessingError> { let roas = match repo.process() { Ok(res) => res, Err(err) => { - println!("Fatal error during validation. Aborted."); + error!("Fatal error during validation. Aborted."); return Err(err) } }; diff --git a/src/rtr/net.rs b/src/rtr/net.rs index 0dbb8fe..99913e8 100644 --- a/src/rtr/net.rs +++ b/src/rtr/net.rs @@ -154,7 +154,6 @@ impl Future for Connection { } OutputState::Idle(_) => { // We need to wait for input. - println!("waiting"); match try_ready!(self.input.poll()) { Some(input) => Ok(input), None => return Ok(Async::Ready(())) @@ -164,7 +163,6 @@ impl Future for Connection { }; match next { Err(sock) => { - println!("Going idle"); self.output = OutputState::Idle(sock); } Ok(input) => {