On Wed, Nov 11, 2009 at 03:09:53PM -0800, Rob Johnston wrote: > >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. > > Well, that's even better :)
Do beware of: 6578671 smf services keep logging to old smf logs after log rotation as well, until we restart them