mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
change debug level to info
This commit is contained in:
parent
b1309c5dff
commit
21933b454c
1 changed files with 5 additions and 5 deletions
10
src/main.rs
10
src/main.rs
|
|
@ -186,7 +186,7 @@ async fn main() -> Result<()> {
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
{
|
{
|
||||||
log::debug!(
|
log::info!(
|
||||||
"skip awaiting the completion of preload `{h}` data (`{e}`), ban until {}.",
|
"skip awaiting the completion of preload `{h}` data (`{e}`), ban until {}.",
|
||||||
ban.add(i)
|
ban.add(i)
|
||||||
);
|
);
|
||||||
|
|
@ -206,22 +206,22 @@ async fn main() -> Result<()> {
|
||||||
session
|
session
|
||||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||||
.await?; // torrent data was moved on commit; there's no sense in keeping it
|
.await?; // torrent data was moved on commit; there's no sense in keeping it
|
||||||
log::debug!("torrent `{h}` resolved.")
|
log::info!("torrent `{h}` resolved.")
|
||||||
}
|
}
|
||||||
Ok(_) => panic!(),
|
Ok(_) => panic!(),
|
||||||
Err(e) => log::debug!(
|
Err(e) => log::info!(
|
||||||
"failed to resolve torrent `{h}`: `{e}`, ban until {}.",
|
"failed to resolve torrent `{h}`: `{e}`, ban until {}.",
|
||||||
ban.add(i)
|
ban.add(i)
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
Err(e) => log::debug!(
|
Err(e) => log::info!(
|
||||||
"skip awaiting the completion of adding torrent `{h}` data (`{e}`), ban until {}.",
|
"skip awaiting the completion of adding torrent `{h}` data (`{e}`), ban until {}.",
|
||||||
ban.add(i)
|
ban.add(i)
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log::debug!(
|
log::info!(
|
||||||
"queue completed at {time_queue} (time: {} / uptime: {} / banned: {}) await {} seconds to continue...",
|
"queue completed at {time_queue} (time: {} / uptime: {} / banned: {}) await {} seconds to continue...",
|
||||||
Local::now()
|
Local::now()
|
||||||
.signed_duration_since(time_queue)
|
.signed_duration_since(time_queue)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue