Navigation
Included with all plans
Root Access
99-Day Money-Back Guarantee
Undercrowding
Phone Support
Premium Connectivity
99.99% Uptime
Free Website Accelerator
1GB Email Accounts
Convenient Control Panel
... and much more!
 
Document Actions

How Can I Run Zope in Debug Mode?

Putting your Zope into Debug Mode and being able to watch all log messages on your console/terminal is easy. Read along to find out.

How Can I Run Zope in Debug Mode and See the Log Messages?

Turn Debug Mode On

First, you need to turn debug mode on.

vi /usr/local/zope/instance1/etc/zope.conf 

...and change 'debug-mode off' to 'on'. You don't have to use vi; vim, emacs, pico, nano, ee or any other text editor will do.

Stop Zope

Now you can stop Zope. Become root first ('sudo su').

zopectl stop

Start Zope Manually

Now you can start Zope. This will not detach from your console and will show all log messages right there on your console. You will need to become the user zope first ('su zope'), then run this command:

~/instance1/bin/runzope

Exit Zope

To exit Zope, type Control-C. This will stop your zope.

Start Zope Normally Again

You can now turn debug mode off and type 'zopectl start' (as root) to start your zope normally again.


© 2005-2006 High Speed Rails incorporated

701 Fifth Avenue, Suite 4200
Seattle, Washington 98104
+1 206-774-8566
+1 800-969-1452
UK: 020-7101-9307 (2PM-12AM BST)
Mexico: 55-5351-2449 - Se Habla Español
France: 01-7281-3666 (3PM-1AM CET)
Italia: 068 7720079 (3PM-1AM CET)

Powered by Plone Powered by High Speed Rails

2Checkout is an authorized retailer of our services.