diff --git a/rust/src/plugin.rs b/rust/src/plugin.rs index 7f3758640846..db47131848e5 100644 --- a/rust/src/plugin.rs +++ b/rust/src/plugin.rs @@ -19,9 +19,9 @@ pub fn init() { unsafe { - let context = super::core::SCGetContext(); - super::core::init_ffi(context); + let context = crate::core::SCGetContext(); + crate::core::init_ffi(context); - super::debug::SCSetRustLogLevel(super::debug::SCLogGetLogLevel()); + crate::debug::LEVEL = crate::debug::SCLogGetLogLevel(); } }