I send a request to move client to specific AP(ubus call hostapd.wlan0 bss_transition_request )
then i get responce in logread
hostapd: wlan0: BSS-TM-RESP ee:52:2a:09:59:ba status_code=0 bss_termination_delay=0 target_bssid=e0:e1:a9:7d:f8:bf
the question is where that message come from , I need to direct it to other place
for now i just grep all logread but it takes time to grep whole logread
result=$(logread |grep 'BSS'|grep $mac | tail -1 | awk -F ' ' '{ print $11 }'| awk -F '=' '{ print $2 }')
so i need those messages go to a special file or maybe i can request it from hostapd directly some how ?
maybe some configs of hostapd so i can make my own file and directed there