From: David-Sarah Hopwood Date: Sat, 22 Dec 2012 23:39:11 +0000 (+0000) Subject: docs/logging.rst: remove note about a bug that was fixed in foolscap 0.6.0. X-Git-Tag: allmydata-tahoe-1.10a1~34 X-Git-Url: https://git.rkrishnan.org/simplejson/components/%22file:/something?a=commitdiff_plain;h=a125f83f1a8ba751fc60b4dffd7e40424b4e392b;p=tahoe-lafs%2Ftahoe-lafs.git docs/logging.rst: remove note about a bug that was fixed in foolscap 0.6.0. Signed-off-by: David-Sarah Hopwood --- diff --git a/docs/logging.rst b/docs/logging.rst index 8c252b8d..4e43687c 100644 --- a/docs/logging.rst +++ b/docs/logging.rst @@ -268,13 +268,17 @@ If a test is failing and you aren't sure why, start by enabling With ``FLOGTOTWISTED=1``, sufficiently-important log events will be written into ``_trial_temp/test.log``, which may give you more ideas about why the -test is failing. Note, however, that ``_trial_temp/log.out`` will not receive -messages below the ``level=OPERATIONAL`` threshold, due to this issue: -``_ +test is failing. +By default, ``_trial_temp/test.log`` will not receive messages below the +``level=OPERATIONAL`` threshold. You can change the threshold via the ``FLOGLEVEL`` +variable, e.g.:: -If that isn't enough, look at the detailed foolscap logging messages instead, -by running the tests like this:: + make test FLOGLEVEL=10 FLOGTOTWISTED=1 + +(The level numbers are listed in src/allmydata/util/log.py.) + +To look at the detailed foolscap logging messages, run the tests like this:: make test FLOGFILE=flog.out.bz2 FLOGLEVEL=1 FLOGTOTWISTED=1