On Wed, Nov 11, 2009 at 03:04:32PM -0800, Rob Johnston wrote:
> I think one thing I like about enabling/disabling the debug log via an SMF 
> property is that we can make the setting persistent.  So I would propose 
> that I retain that aspect of the current implementation and simply change 
> it to log into syslog, rather than to the private log file.  Do that seem 
> reasonable?

You can always just fprintf() to stdout or stderr -- SMF arranges for
those to go to a log file (see svcs(1) -xv).  SMF will take care of log
rotation.

> Also, since it is a private debug mechanism, perhaps I should remove the 
> mention of it in the man page?

Unless it's of use to users, yes, remove it.

Nico
-- 

Reply via email to