Better logging with plugin fix

This commit is contained in:
2025-08-30 03:00:18 +02:00
parent 19c102a7e8
commit 9b07d1281f
9 changed files with 53 additions and 33 deletions
+1 -4
View File
@@ -13,6 +13,7 @@ pub mod vfs;
pub use anyhow::Result;
use crate::plugin::{Plugin, PluginInstance};
pub use once_cell;
#[derive(serde::Serialize, serde::Deserialize)]
pub struct ServerConfig {
@@ -71,10 +72,6 @@ impl Server {
let listener = TcpListener::bind(format!("0.0.0.0:{}", self.config.port));
self.logger
.info(format!("Server listening 0.0.0.0:{}", self.config.port));
self.logger
.warn(format!("Server listening 0.0.0.0:{}", self.config.port));
self.logger
.error(format!("Server listening 0.0.0.0:{}", self.config.port));
for stream in listener?.incoming() {
match stream {