duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loglevels and Output ... WAS: Re: [Duplicity-talk] erroneous increme


From: Kenneth Loafman
Subject: Re: Loglevels and Output ... WAS: Re: [Duplicity-talk] erroneous incrementals?
Date: Mon, 30 Mar 2009 12:12:25 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Michael Terry wrote:
> On Mon, Mar 30, 2009 at 9:25 AM, Kenneth Loafman <address@hidden> wrote:
>> Changed from log.Log with numbered log levels to log.Debug,
>> log.Info, log.Notice, log.Warn, log.FatalError as below:
> 
> I'm not sure I understand.  Are you saying that the code will now only
> have 5 levels instead of 10?

That was my goal.  They fold down to 5 when they get translated to log
levels anyway, so just made it clear in the code.

>> What do you think?  Will this break anything, or will it make life
>> easier?  I know that for me it will make programming easier since I've
>> got symbolic names now.  It's in CVS so you can check it out.
> 
> As long as the logging output itself is unchanged and duplicity still
> accepts -v9, it won't break deja-dup.

OK, good.

> I can definitely imagine it makes the code cleaner and easier to
> understand, so I'm for it.

It is easier to understand.

...Ken


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]