[OpenWrt-Devel] [PATCH V2 procd] service: start apps with LD_PRELOAD & lib for line buffering
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.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel