[BusyBox] Keeping only most recent log messages...?

Alec Smecher alec at cr464730-a.poco1.bc.home.com
Thu Nov 30 05:24:21 UTC 2000


Hi folks,

First of all, the obligatory but important thanks: Busybox is vitally important to the project at hand and I intend to keep using it wherever I can! And I must say, if this much attention was paid to coding in general, the software world would be almost tolerable :)

Anyway, on my embedded system I'd like to keep a page or so of the most recent syslog'd messages, but in the interests of preserving extremely limited memory/disk space I'd like to be able to limit it to just the last page or so. Without running another daemon, how would I best approach this? I think it might be a really useful addition to syslog - correct me if I'm wrong - and although such things as "emlog" seem to fit the bill, I'd prefer an integrated solution.

Any thoughts?

Thanks,
Alec Smecher
asmecher at home.com





More information about the busybox mailing list