mirror of
https://github.com/flibusta-apps/telegram_files_server.git
synced 2025-12-06 12:35:39 +01:00
Add logs
This commit is contained in:
@@ -109,6 +109,8 @@ pub async fn download_file(chat_id: i64, message_id: i32) -> Option<BotDownloade
|
||||
}
|
||||
};
|
||||
|
||||
log::info!("File path: {}", path);
|
||||
|
||||
return Some(BotDownloader::new(bot, path));
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ async fn main() {
|
||||
|
||||
tracing_subscriber::registry()
|
||||
.with(tracing_subscriber::fmt::layer().with_target(false))
|
||||
// .with(filter::LevelFilter::INFO)
|
||||
.with(filter::LevelFilter::INFO)
|
||||
.with(sentry_layer)
|
||||
.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user