Re: Is there any way to use the logging module adding nothing to a message

2016-06-04 Thread cl
Ben Finney wrote: > c...@isbd.net writes: > > > If I do:- > > > > f = logging.handlers.RotatingFileHandler("/home/chris/tmp/mail.log", > > 'a', 100, 4) > > f.setLevel(logging.DEBUG) > > formatter = logging.Formatter('%(message)s') > > f.setFormatter(formatter) > > log.add

Re: Is there any way to use the logging module adding nothing to a message

2016-06-04 Thread Ben Finney
c...@isbd.net writes: > If I do:- > > f = logging.handlers.RotatingFileHandler("/home/chris/tmp/mail.log", 'a', > 100, 4) > f.setLevel(logging.DEBUG) > formatter = logging.Formatter('%(message)s') > f.setFormatter(formatter) > log.addHandler(f) > > Will I get just the mess