[OpenWrt-Devel] [PATCH V2 procd] service: start apps with LD_PRELOAD & lib for line buffering

Rafał Miłecki zajec5 at gmail.com
Thu Jul 2 11:46:23 EDT 2015


On 20 June 2015 at 21:42, Rafał Miłecki <zajec5 at gmail.com> wrote:
> Using pipe automatically switches service to block buffering which kind
> of breaks our logging. We won't get anything from FD until the buffer
> gets filled fully or the service exits. This makes log messages appear
> with an unwanted delay.
> This adds a tiny libsetlbf.so that switches stdout to line buffering and
> uses this lib for every logging-enabled service started by procd.

Ping.
_______________________________________________
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