[Openais] dynamically setting the loglevel/priority

angus salkeld angus.salkeld at alliedtelesis.co.nz
Sun Oct 19 11:20:36 PDT 2008


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.

Another neat thing would be to dump the blackbox from the flight
recorder.

Steve is this part of logsys going to change drastically?
i.e. logsys_loggers[] priority & trace (the basic structures for
configuring logsys).


Regards
-Angus



More information about the Openais mailing list