Xymon Mailing List Archive search

--debug not working for xymonlaunch?

list Japheth Cleaver
Thu, 4 Apr 2013 16:03:11 -0000 (UTC)
Message-Id: <user-c300345b69a5@xymon.invalid>

...
/export/xymon-4.3.3/server/bin/xymonlaunch \
--config=/export/xymon-4.3.3/server/etc/tasks.cfg \
--env=/export/xymon-4.3.3/server/etc/xymonserver.cfg
--log=/var/log/xymon-4.3.3/xymonlaunch.log \
--pidfile=/var/log/xymon-4.3.3/xymonlaunch.pid \
--debug=/var/log/Xymon/xymonlaunch-debug.log            # This last switch
was the addition
        echo "Xymon started"

~~~
Did a "xymon.sh restart" (several times) and no log file. Then I tried
removing the "=....log" , with just the "... --debug" and
stopped/restarted things. All with no success.
Any ideas?

Thanks!

david

Simply a "--debug" is sufficient. The flag is set as soon as it's
encountered in the option list, so you should actually see output even
sooner if you put it first. Output should end up in xymonlaunch.log.

Also, for xymonlaunch I believe even in 4.3.3 sending it a -USR2 signal
will turn debugging on and off on the fly. Wherever it starts sending data
out to as a result of that should be where a '--debug' sends it to as
well.


HTH,
-jc