Debugging Daemons
To activate debug mode, add debug: true in the daemon
configuration file. The output will be available in the
daemon's log file.
It is also possible to run the Wazo daemon, in command line. This will allow to run in foreground and debug mode. To see how to use it, type:
wazo-{name} -hNote that it's usually a good idea to stop monit before running a daemon in foreground:
systemctl stop monit.servicewazo-confgend
twistd3 -no -u wazo-confgend -g wazo-confgend --python=/usr/bin/wazo-confgend --logger wazo_confgend.bin.daemon.twistd_logsNo debug mode in wazo-confgend.
wazo-provd
twistd3 -no -u wazo-provd -g wazo-provd --logger provd.main.twistd_logs wazo-provd -s -v-s: for logging tostderr-v: for verbose