@@ -290,7 +290,6 @@ impl Server {
290
290
let ( onion_address, tor_secret) = if config. tor_config . tor_enabled {
291
291
if !config. p2p_config . host . is_loopback ( ) {
292
292
error ! ( "If Tor is enabled, host must be '127.0.0.1'." ) ;
293
- println ! ( "If Tor is enabled, host must be '127.0.0.1'." ) ;
294
293
return Err ( Error :: Configuration (
295
294
"If Tor is enabled, host must be '127.0.0.1'." . to_owned ( ) ,
296
295
) ) ;
@@ -344,13 +343,12 @@ impl Server {
344
343
} ) ?;
345
344
346
345
let resp = output. recv ( ) ;
347
- println ! ( "Finished with TOR" ) ;
346
+ info ! ( "Finished with TOR" ) ;
348
347
let onion_address = resp. unwrap_or ( None ) ;
349
348
if onion_address. is_some ( ) {
350
349
info ! ( "Tor successfully started: resp = {:?}" , onion_address) ;
351
350
} else {
352
351
error ! ( "Tor failed to start!" ) ;
353
- println ! ( "Failed to start tor. See log for details" ) ;
354
352
std:: process:: exit ( -1 ) ;
355
353
}
356
354
let secret = output. recv ( ) . map_err ( |e| {
@@ -363,13 +361,11 @@ impl Server {
363
361
364
362
if onion_address. is_none ( ) {
365
363
error ! ( "onion_address must be specified with external tor. Halting!" ) ;
366
- println ! ( "onion_address must be specified with external tor. Halting!" ) ;
367
364
std:: process:: exit ( -1 ) ;
368
365
}
369
366
let otemp = onion_address. clone ( ) . unwrap ( ) ;
370
367
if otemp == "" {
371
368
error ! ( "onion_address must be specified with external tor. Halting!" ) ;
372
- println ! ( "onion_address must be specified with external tor. Halting!" ) ;
373
369
std:: process:: exit ( -1 ) ;
374
370
}
375
371
info ! (
0 commit comments