change logger in processor to trace

This commit is contained in:
Ishan Jain 2023-07-28 16:00:37 +05:30
parent 1ede90cc29
commit 198ab71c43
Signed by: ishan
GPG Key ID: 0506DB2A1CC75C27

View File

@ -1,6 +1,6 @@
use crate::Config; use crate::Config;
use dns_parser::Packet; use dns_parser::Packet;
use log::info; use log::{info, trace};
use multicast_socket::{Interface, Message, MulticastOptions, MulticastSocket}; use multicast_socket::{Interface, Message, MulticastOptions, MulticastSocket};
use std::{ffi::CString, net::SocketAddrV4, sync::mpsc::Receiver}; use std::{ffi::CString, net::SocketAddrV4, sync::mpsc::Receiver};
@ -40,7 +40,7 @@ impl Processor {
"lo".to_string() "lo".to_string()
}; };
info!( trace!(
"EVENT src-if = {} if-index {:?} address = {}, packet: {:?} answers = {:?}", "EVENT src-if = {} if-index {:?} address = {}, packet: {:?} answers = {:?}",
src_ifname, src_ifname,
evt.interface, evt.interface,