[MacPorts] #22471: Debugging options for startupitems (launchd / daemondo)
MacPorts
noreply at macports.org
Wed Nov 11 07:30:10 PST 2009
#22471: Debugging options for startupitems (launchd / daemondo)
---------------------------------+------------------------------------------
Reporter: dreamcat4@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.8.1
Keywords: | Port:
---------------------------------+------------------------------------------
Hi,
http://trac.macports.org/browser/trunk/base/src/port1.0/portstartupitem.tcl
It would be really great to allow improved debugging options for launchd /
daemondo startupitems. Default setting are debug=false and verbosity=1.
However usually the amount of information provided by those is inadequate.
Optional debugging parameter may be used whilst testing new startupiitems.
Then removed / disabled for the final official Portfile.
We are currently missing these valuable settings:
1.
startupitem.debug yes
to set:
<key>Debug</key><true/>
This is the general launchd debugging variable. It says everything about
what launchd is doing! Generally we only want to switch it on for the
startupitem we are debugging.
2.
startupitem.verbosity 2
to set:
<string>--verbosity=2</string>
This is a daemondo argument string, and tells everything that the daemondo
program is doing. Daemondo is *much* more helpful with this argument
switched on.
These may be easily templated into the startupitems.tcl file with just a
couple of lines tlc. But most of all it would be particularly good to
document these debug setting in the official documentation. Please see
ticket #22449 for the startupitems docs for that.
--
Ticket URL: <http://trac.macports.org/ticket/22471>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list