My diff only uses printf() in relayctl.c, not in relayd.c, which from your explanation seems to be correct. However, if you think it's worth it I could fix relayctl.c to use the log_* functions instead.
Thanks for the input, -- Seth On Thu, Dec 1, 2011 at 2:40 PM, Henning Brauer <[email protected]> wrote: > * Seth Wright <[email protected]> [2011-12-01 19:20]: >> Hm, okay. I took the printf() lines almost verbatim from bgpctl.c, >> which seems to use printf() throughout, as does relayctl.c. > > *ctl versus *d. > > *ctl -> console > *d -> daemonizes > > that said, the log framwork in these daemons and their ctl ustilities > does the job just fine for logging to the console, too. > > -- > Henning Brauer, [email protected], [email protected] > BS Web Services, http://bsws.de, Full-Service ISP > Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed > Henning Brauer Consulting, http://henningbrauer.com/
