﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
154	FLOGTOTWISTED=1 doesn't honor FLOGLEVEL=	Brian Warner		"Zooko discovered (after a painful debugging process) that running a Trial-based unit test suite with ""{{{FLOGFILE=flog.out FLOGLEVEL=1 FLOGTOTWISTED=1}}}"" emits different messages to the {{{flog.out}}} flogfile than to trial's {{{_trial_temp/log.out}}} . The former gets all messages (including {{{level=NOISY}}}, which are only recorded because of the {{{FLOGLEVEL=1}}} setting). The latter is hardwired to strip out messages below the {{{level=OPERATIONAL}}} threshold, excluding NOISY. He expected both {{{flog.out}}} and twisted's {{{log.out}}} to contain the same events.

The fix is to change the code in source:foolscap/logging/log.py (at the end of the file) that pays attention to {{{FLOGTOTWISTED=1}}} to also parse {{{FLOGLEVEL}}}, and create a filter function that uses {{{FLOGLEVEL}}} as a threshold.
"	defect	closed	major	0.6.0	logging	0.4.1	fixed		
