[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 ?

1)
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
/etc/uhttpd

now you should see messages.

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

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list