New logging design (was Re: [Box Backup-dev] COMMIT r285 -
box/chris)
Martin Ebourne
boxbackup-dev@fluffy.co.uk
Thu, 05 Jan 2006 21:40:27 +0000
On Thu, 2006-01-05 at 20:57 +0000, Ben Summers wrote:
> Something simple which could be aspect or
> user based would be to have an argument to configure which specifies
> users/aspects
>
> ./configure --with-specific-debug=Ben,RaidFile,Diffing
>
> and then
That wouldn't be much use to me. I wouldn't want to rebuild the RPMs to
change the logging. What I would do is always compile my personal RPMs
with debug enabled and then just switch it on if needed at runtime.
> >> You could also implement an extra command in bbackupctl to change the
> >> logging level in a running bbackupd process, which would be handy
> >> when it's doing something you want to know more about.
> >
> > That could be handy. What about server side? A signal maybe?
>
> The existing command socket?
Have I missed something? Do you mean via bbackupquery (not necessarily
always available on a server), or via a new client just for control? Or
does bbackupctl work on the server?
Cheers,
Martin.