Quoth Renaud Manus on Tue, Sep 04, 2007 at 01:35:48PM +0200: > There are different ways to redirect the logs. If you have access > to Sunsolve, Infodoc 87992 "How to redirect service log output with SMF" > talks about them. > > You can use svccfg but it is not supported as a long term solution and > should only be used for debug because it can break service upgrade. > > eg. > # svccfg -s [FMRI] "setprop start/exec = \"[cmd] > /mylogfile 2>&1 \"" > # svcadm refresh [FMRI]
Messages logged by svc.startd will still go into the /var/svc/log file, though. Why do you want to move them? David