OpenWrt Forum Archive

Topic: how to get LUCI Debug message in console...........

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

::Debug message :::

I am running  LUCI in my PC  and trying write my own module  in luci .  i cant get the print (element ) for understating the function call flow ,

Do we have any option to print those print messages in console while execution lua in the background ?

Does "assert" lua function will help for that ?

::URL redirection::

Does Buildurl () function in dispatcher.lua will help to make an url redirection to my particular application ? like below

::::::::::::         "http://localhost:8080/luci/;stok=bd1cbd8157fd65620998db75b3da88b7/admin/freifunk/contact/ " ::::::::::::

Instead of " admin/freifunk/contact ",my initial page request on :80  has to be redirect to my application "app/hello/facebook"  ..

The discussion might have continued from here.