[OpenWrt-Devel] How to get uhttpd logs

Bastian Bittorf bittorf at bluebottle.com
Thu Oct 29 07:58:04 EDT 2015

* Pratik Prajapati <pratik.prajapati12 at gmail.com> [29.10.2015 12:41]:
> So how to get uhttpd logs ?

run the daemon in foreground: look out
for the exact option string with 'ps'.
here i have to run e.g.:

/usr/sbin/uhttpd -f -h /www -r EG-labor-AP -c /etc/httpd.conf -x
/cgi-bin -u /ubus -t 60 -T 30 -k 20 -A 1 -E /cgi-bin-404.sh -n 3 -N 100
-p 80 -i .sh=/bin/ash -I cgi-bin-404.sh -C /etc/uhttpd.crt -K

now you should see messages.

there is even more, when:
compile with [x] logging enabled (via menuconfig)

bye, bastian
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list