Quoth Dave Linder on Mon, Jul 31, 2006 at 02:48:37PM -0600:
> -------- Original Message --------
> Subject: Question: the description of smf_logs in logadm.conf
> Date: Mon, 31 Jul 2006 17:18:41 +0900
> From: Toshitaka Ishibashi <Toshitaka.Ishibashi at Sun.COM>
...
> The customer says as follows.
> ---------------------------------------------------------------------------------
> In Open Solaris Source, the description of smf_logs is
> "smf_logs /var/svc/log/*.log -C 8 -s 1m".
> http://cvs.opensolaris.org/source/xref/on/usr/src/cmd/logadm/logadm.conf
> 
> However, the default description of smf_logs is
> "smf_logs -C 8 -s 1m /var/svc/log/*.log" in Solaris 10 6/06.
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> What is this difference?
> When did you change?
> ---------------------------------------------------------------------------------

The default logadm.conf file has not changed (you can check this in the
SUNWcsr package of the install image).  When logadm rotates the logs, it
rewrites logadm.conf, and if a line has command arguments (as opposed to
options), it will put them last.  You should be able to verify this by
correlating the modification time on logadm.conf with the last logadm
invocation in /var/cron/log .


David

Reply via email to