[Openais] dynamically setting the loglevel/priority
Steven Dake
sdake at redhat.com
Sun Oct 19 11:39:30 PDT 2008
On Mon, 2008-10-20 at 07:20 +1300, angus salkeld wrote:
> Hi
>
> I need to be able to dynamically set logsys's loglevel/priority (via
> IPC).
>
> So this is what I had in mind.
>
> During each sub-system's init place the default priority in objdb.
> Then use the objdb track_start() to track any changes to it and any
> other logging settings. This will let me tweek logging setting via
> confdb at runtime.
>
sounds good
> Another neat thing would be to dump the blackbox from the flight
> recorder.
>
possible via the cfg api.
> Steve is this part of logsys going to change drastically?
> i.e. logsys_loggers[] priority & trace (the basic structures for
> configuring logsys).
>
>
logsys_loggers[] becomes private and should only be used by the API
functions which are mostly unchanged.
I hope to have an initial patch today that you can take a look at.
If something is missing from the cleanup we can address it.
Regards
-steve
> Regards
> -Angus
>
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais
More information about the Openais
mailing list