[mythtv] [PATCH] Database logging/MythContextPrivate

Matt White whitem at arts.usask.ca
Fri Mar 5 16:50:27 EST 2004

Isaac Richards wrote:
> On Friday 05 March 2004 12:57 pm, Matt White wrote:

[snip question about backend settings]

> Ah yeah, sorry for not responding to your earlier query..  Yeah, another 
> message to the backend would be reasonable, but I'd also be fine with just 
> requiring a backend restart -- a bunch of other settings changes require one, 
> so it's not that big of a deal for one or two more..

I went ahead and added a message to do the reload - figured it's nice to
be able to change the log settings without a restart, and it wasn't
hard.  Upon receiving the message "REFRESH_BACKEND", the backend will
reload the log variables in MythPrivateContext related to the logging
stuff.  This may be useful in other cases - code can be added to the
HandleBackendRefresh() function.

I've attached a patch again current CVS (had to update my dbcheck.cpp
patch to go to dbversion 1035).

The frontend module (mythlog) is available at:


if you want to add it as a module in your CVS tree.

Matt White                          whitem at arts.usask.ca
Arts and Science Computer Labs      University of Saskatchewan

Old Wild Billy told me even I would have a chance
If I took a trip down a Georgia highway and asked some girl to dance.
	- Tracy Byrd..."4 to 1 in Atlanta"

More information about the mythtv-dev mailing list