Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

adjust log file days from 7 days to 31 days

rustdesk278d59358013
diff --git a/libs/hbb_common/src/lib.rs b/libs/hbb_common/src/lib.rs
index 11b791c91..15ef31022 100644
--- a/libs/hbb_common/src/lib.rs
+++ b/libs/hbb_common/src/lib.rs
@@ -41,6 +41,7 @@ pub use chrono;
pub use directories_next;
pub use libc;
pub mod keyboard;
+pub use base64;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
pub use dlopen;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
@@ -48,10 +49,9 @@ pub use machine_uid;
pub use serde_derive;
pub use serde_json;
pub use sysinfo;
+pub use thiserror;
pub use toml;
pub use uuid;
-pub use base64;
-pub use thiserror;
pub type Stream = tcp::FramedStream;
pub type SessionID = uuid::Uuid;
@@ -384,7 +384,7 @@ pub fn init_log(_is_async: bool, _name: &str) -> Option<flexi_logger::LoggerHand
.rotate(
Criterion::Age(Age::Day),
Naming::Timestamps,
- Cleanup::KeepLogFiles(6),
+ Cleanup::KeepLogFiles(31),
)
.start()
.ok();