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
|
||||
{
|
||||
log::debug!(
|
||||
log::info!(
|
||||
"skip awaiting the completion of preload `{h}` data (`{e}`), ban until {}.",
|
||||
ban.add(i)
|
||||
);
|
||||
|
|
@ -206,22 +206,22 @@ async fn main() -> Result<()> {
|
|||
session
|
||||
.delete(librqbit::api::TorrentIdOrHash::Id(id), false)
|
||||
.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!(),
|
||||
Err(e) => log::debug!(
|
||||
Err(e) => log::info!(
|
||||
"failed to resolve torrent `{h}`: `{e}`, ban until {}.",
|
||||
ban.add(i)
|
||||
),
|
||||
},
|
||||
Err(e) => log::debug!(
|
||||
Err(e) => log::info!(
|
||||
"skip awaiting the completion of adding torrent `{h}` data (`{e}`), ban until {}.",
|
||||
ban.add(i)
|
||||
),
|
||||
}
|
||||
}
|
||||
}
|
||||
log::debug!(
|
||||
log::info!(
|
||||
"queue completed at {time_queue} (time: {} / uptime: {} / banned: {}) await {} seconds to continue...",
|
||||
Local::now()
|
||||
.signed_duration_since(time_queue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue