diff --git a/common/src/msg/mod.rs b/common/src/msg/mod.rs index a7e4802a89..c25cb8a8a1 100644 --- a/common/src/msg/mod.rs +++ b/common/src/msg/mod.rs @@ -1,7 +1,7 @@ pub mod client; pub mod ecs_packet; pub mod server; -pub mod world_packet; +pub mod world_msg; // Reexports pub use self::{ @@ -11,7 +11,7 @@ pub use self::{ CharacterInfo, DisconnectReason, InviteAnswer, Notification, PlayerInfo, PlayerListUpdate, RegisterError, ServerGeneral, ServerInfo, ServerInit, ServerMsg, ServerRegisterAnswer, }, - world_packet::WorldMapMsg, + world_msg::WorldMapMsg, }; use serde::{Deserialize, Serialize}; diff --git a/common/src/msg/server.rs b/common/src/msg/server.rs index b54ca91a4b..eda77ac4ab 100644 --- a/common/src/msg/server.rs +++ b/common/src/msg/server.rs @@ -52,7 +52,7 @@ pub enum ServerInit { time_of_day: state::TimeOfDay, max_group_size: u32, client_timeout: Duration, - world_map: crate::msg::world_packet::WorldMapMsg, + world_map: crate::msg::world_msg::WorldMapMsg, recipe_book: RecipeBook, }, } diff --git a/common/src/msg/world_packet.rs b/common/src/msg/world_msg.rs similarity index 100% rename from common/src/msg/world_packet.rs rename to common/src/msg/world_msg.rs diff --git a/server-cli/src/logging.rs b/server-cli/src/logging.rs index d3fb675587..8b3980c7b3 100644 --- a/server-cli/src/logging.rs +++ b/server-cli/src/logging.rs @@ -18,6 +18,11 @@ pub fn init(basic: bool) { .add_directive("uvth=warn".parse().unwrap()) .add_directive("tiny_http=warn".parse().unwrap()) .add_directive("mio::sys::windows=debug".parse().unwrap()) + .add_directive( + "veloren_server::persistence::character=info" + .parse() + .unwrap(), + ) .add_directive(LevelFilter::INFO.into()) }; diff --git a/server/src/client.rs b/server/src/client.rs index e2bfcf6d6f..e706689d80 100644 --- a/server/src/client.rs +++ b/server/src/client.rs @@ -52,7 +52,8 @@ impl Client { where S: Into, { - const ERR: &str = "Dont do that, thats only done once at the start, no via this class"; + const ERR: &str = + "Don't do that. Sending these messages is only done ONCE at connect and not by this fn"; match msg.into() { ServerMsg::Info(_) => panic!(ERR), ServerMsg::Init(_) => panic!(ERR), diff --git a/voxygen/src/logging.rs b/voxygen/src/logging.rs index 583127e527..5677293060 100644 --- a/voxygen/src/logging.rs +++ b/voxygen/src/logging.rs @@ -44,6 +44,11 @@ pub fn init(settings: &Settings) -> Vec { .add_directive("uvth=warn".parse().unwrap()) .add_directive("tiny_http=warn".parse().unwrap()) .add_directive("mio::sys::windows=debug".parse().unwrap()) + .add_directive( + "veloren_server::persistence::character=info" + .parse() + .unwrap(), + ) .add_directive(LevelFilter::INFO.into()) };