[Zope] removing -D

Michel Pelletier michel@digicool.com
Sat, 25 Sep 1999 17:43:31 -0400


Tim Wilson wrote:
> 
> Hi everyone,
> 
> I've read many times that the -D option in z2.py causes Zope to run in
> debug mode. Apparently that's the default behavior. Others have said that
> you can edit z2.py and remove it. My problem is that I can't figure out
> what part of z2.py to change to start Zope in "non-debug mode." BTW, I'm
> running Zope on a Linux system.

There's no need to edit z2.py.  '-D' is a command line switch _TO_
z2.py, not _USED IN_ the file.  I think what you want to do is edit your
'start' script (or start.bat on windows).

-Michel