pndnotifyd logging was already available (just drop the -d on command line, and redir...
authorskeezix <skeezix@flotsam-vm.(none)>
Mon, 15 Feb 2010 03:31:02 +0000 (22:31 -0500)
committerskeezix <skeezix@flotsam-vm.(none)>
Mon, 15 Feb 2010 03:31:02 +0000 (22:31 -0500)
commit82398386e6fc6ac4481fa37c7b2955606c2696b5
treead1c9f6065cbbc9d92f0edd4dca4154d82a1eb6c
parentfb01d515a1d360db44093cdb870d37a07b3e2309
pndnotifyd logging was already available (just drop the -d on command line, and redirect to file; log level was in conf file..)
 -- but now you can just add -l to command line to cause it to go go debuglevel and spit out to /tmp/pndnotifyd.log
 -- can actualyl do -l#, where # is log level, default is 0 (all)

pnd_logger now has set_buried_logging() which lets you turn on logging in libpnd API that doesn't normally log, such as
the discovery code; this way we can log some deep-shit, if we really want to
Makefile
apps/pndnotifyd.c
include/pnd_logger.h
lib/pnd_discovery.c
lib/pnd_logger.c
lib/pnd_utility.c