[BusyBox] Please modify "logread" in Busybox so that it flushes its output
pgf at brightstareng.com
Thu Aug 18 12:39:30 UTC 2005
> Hi - I'd like to set up a Busybox system to immediately trigger events to o=
> if certain events are logged. The current code makes that hard to do.
> For example, I'd like to use "logread -f" to monitor output;
> the problem is that "logread -f" does NOT flush its output immediately.
> Thus, in trunk/busybox/sysklogd/logread.c, would you please modify
> the code to flushes the output after printf's? For example, please change:
shouldn't this behavior be controlled by a command-line argument
to control whether output is unbuffered or not?
> } while (follow);
> So that after the "#endif" add this:
> --- David A. Wheeler
> busybox mailing list
> busybox at mail.busybox.net
paul fox, pgf at brightstareng.com
More information about the busybox