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:
@ -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)
|
||||
}
|
||||
};
|
||||
|
@ -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) => {
|
||||
|
Reference in New Issue
Block a user