UBUS listen use in lua page

Please give me a brief intro of UBUS Listen. can i use this in client side lua page?

No, you can’t use any sort of listening ubus facilities in HTTP request/response context.

1 Like

You can do it this way... it is not perfect cause you could loose logs in between requests, but it can be fixed by reading some lines back: https://bugs.openwrt.org/index.php?do=details&task_id=2248
replace the 'console.log' with your code.