1
0
mirror of https://github.com/NLnetLabs/routinator.git synced 2024-05-19 06:50:04 +00:00

Slightly better messaging.

This commit is contained in:
Martin Hoffmann
2018-10-25 14:48:56 +02:00
parent 8ba5f33980
commit 9b646b2537
2 changed files with 3 additions and 3 deletions

View File

@ -72,6 +72,8 @@ fn run_forever(config: &Config) -> Result<(), ProcessingError> {
config.history_size
);
info("Starting RTR listener...");
let (notify, rtr) = rtr_listener(history.clone(), &CONFIG);
tokio::runtime::run(
@ -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)
}
};

View File

@ -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) => {