PipelineFX Forum
Qube! => Developer Customization => Topic started by: chiharu on July 24, 2007, 01:09:11 AM
-
Hi,
I am whiting Custom Supervisor Policy plug-in on Linux just now.
How to Debug my plug-in ?
thank you.
-
Hey Chiharu-san,
In terms of debugging, I typically modify my policy so that it prints out data to a file to test it. Another method is to start up the supervisor in console mode. This forces the supervisor to display to the command line.
Just do the following:
Modify qb.conf and set supervisor_logfile = stdout
open a command window and cd to the supervisor's location.
cd C:\Program Files\pfx\qube\sbin
cd /usr/local/pfx/qube/sbin
supervisor --console
That's it. A simple Ctrl-C will stop the supervisor. (Since the supervisor is normally setup with 2 licenses, you can run the supervisor on another machine for testing only)
Anthony
-
Oh, Nice! Thanks!!! :D