view doc/debugging.txt @ 3882:46ef2a6fd79d

config option to limit nosy attachments based on size reworking of patch [SF#772323] from Philipp Gortan It tries to avoid reading the file contents just to get the file size but that was too hard for metakit backends. They don't inherit from blobfiles.FileStorage which makes it more challenging. Really that backend should be reworked to inherit from FileStorage. I'm not sure I like the default being sys.maxint. Maybe have 0 == unlimited? But what if someone really wanted to set it to 0 to mean "don't attach anything"?
author Justus Pendleton <jpend@users.sourceforge.net>
date Mon, 03 Sep 2007 17:14:09 +0000
parents 94e430ad4fdb
children b6f1aaba4827
line wrap: on
line source

Debugging Flags
---------------

Roundup uses a number of debugging environment variables to help you
figure out what the heck it's doing. 

HYPERDBDEBUG 
============

This environment variable should be set to a filename - the hyperdb will
write debugging information for various events (including, for instance,
the SQL used).

This is only obeyed when python is _not_ running in -O mode. 

HYPERDBTRACE
============

This environment variable should be set to a filename - the hyperdb will
write a timestamp entry for various events. This appears to be suffering
rather extreme bit-rot and may go away soon.

This is only obeyed when python is _not_ running in -O mode. 

SENDMAILDEBUG
=============

Set to a filename and roundup will write a copy of each email message
that it sends to that file. This environment variable is independent of
the python -O flag.


Roundup Issue Tracker: http://roundup-tracker.org/