diff --git a/src/freeswitch/macros.rs b/src/freeswitch/macros.rs index 927f446..63bf2c8 100644 --- a/src/freeswitch/macros.rs +++ b/src/freeswitch/macros.rs @@ -3,7 +3,7 @@ macro_rules! switch_log_printf { ($level:expr, $msg:expr) => { switch_log_printf( switch_text_channel_t_SWITCH_CHANNEL_ID_LOG, - cstring(file!()).as_ptr(), + cstring(format!("{modname}_{}",file!())).as_ptr(), cstring(function_name!()).as_ptr(), line!() as i32, std::ptr::null(),