Skip to content

Commit f1794e2

Browse files
committed
Debug logging is filtered to prevent dependency log messages. Fixes #13.
Fixed default registry file and added Iperius Remote. Fixed log file name issue. Bump to 0.7.2.
1 parent 9302bd6 commit f1794e2

File tree

7 files changed

+8
-5
lines changed

7 files changed

+8
-5
lines changed

common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "noblock_input_common"
3-
version = "0.7.2-pre"
3+
version = "0.7.2"
44
edition = "2021"
55

66
[dependencies]

common/src/logging/mod.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ pub struct LoggersWithInfo
3535
pub fn create_logger(module_path: Result<PathBuf, std::io::Error>, log_directory: Result<OsString, Error>) -> LoggersWithInfo
3636
{
3737
let mut config = ConfigBuilder::new()
38+
.add_filter_allow("noblock_input_hook_injector".to_string())
39+
.add_filter_allow("noblock_input_hook".to_string())
40+
.add_filter_allow("noblock_input_common".to_string())
3841
.set_time_format_custom(format_description!("[[[year]-[month]-[day] [hour]:[minute]:[second].[subsecond digits:3]]"))
3942
.set_thread_level(LevelFilter::Trace)
4043
.set_target_level(LevelFilter::Trace)
@@ -94,6 +97,6 @@ pub fn get_log_file_path(module_path: &Result<PathBuf, std::io::Error>, log_dire
9497
let pid_osstr = format!("{pid}");
9598
let pid_osstr = OsStr::new(&pid_osstr);
9699
let log_file_stem = [OsStr::new(&formatted_time), &module_name, &pid_osstr].join(OsStr::new("_"));
97-
let log_file_name = [log_file_stem.as_os_str(), OsStr::new(".log")].join(OsStr::new("."));
100+
let log_file_name = [log_file_stem.as_os_str(), OsStr::new("log")].join(OsStr::new("."));
98101
return Path::new(&log_directory).join(log_file_name);
99102
}

hook/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "noblock_input_hook"
3-
version = "0.7.2-pre"
3+
version = "0.7.2"
44
edition = "2021"
55

66
[lib]

injector/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "noblock_input_hook_injector"
3-
version = "0.7.2-pre"
3+
version = "0.7.2"
44
edition = "2021"
55

66
[dependencies]

injector/configuration/injector.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[x64]
1212
hook_dll_name = ""
1313
trace_name = "NoBlockInput"
14-
processes = ["ScreenConnect.WindowsClient.exe", "TeamViewer_Desktop.exe", "AweSun.exe"]
14+
processes = ["ScreenConnect.WindowsClient.exe", "TeamViewer_Desktop.exe", "AweSun.exe", "IperiusRemote.exe"]
1515
log_directory = ""
1616

1717
[x86]

injector/configuration/x64.reg

152 Bytes
Binary file not shown.

injector/configuration/x86.reg

-98 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)