[LEDE-DEV] Fwd: [PATCH 2/2] [ubox] logd: add ubus reload method

Alexandru Ardelean ardeleanalex at gmail.com
Thu May 12 07:42:13 PDT 2016


On Thu, May 12, 2016 at 5:30 PM, Karl Palsson <karlp at tweak.net.au> wrote:
>
>
> Dan Bugnar <danutbug at gmail.com> wrote:
> > From: Dan Bugnar <danutbug at gmail.com>
> >
> > Add logd link to uci library, to read the system config file
> > and get the buffer size. Remove the -S option support and use
> > just the option from the config file.
>
>
> Why do you need this exactly? It's already being parsed from the
> config file by the init script, and that is much less code than
> adding all of uci parsing into logd?
>
> Cheers,
> Karl P
> _______________________________________________
> Lede-dev mailing list
> Lede-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
>

[ Forwarding to lede-dev too ; my GMail complained about HTML not
being allowed ]

Doing a reload on logd (to increase the buffer size), should not clear
out the previous log info.
By default logd's reload, is a logd restart.
The end game is to do a proper reload, and keep whatever info was
logged, before the reload (if doing a log buffer increase).



More information about the Lede-dev mailing list