1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25#ident "%Z%%M% %I% %E% SMI" 26# 27# logadm.conf 28# 29# Default settings for system log file management. 30# The -w option to logadm(1M) is the preferred way to write to this file, 31# but if you do edit it by hand, use "logadm -V" to check it for errors. 32# 33# The format of lines in this file is: 34# <logname> <options> 35# For each logname listed here, the default options to logadm 36# are given. Options given on the logadm command line override 37# the defaults contained in this file. 38# 39# logadm typically runs early every morning via an entry in 40# root's crontab (see crontab(1)). 41# 42/var/log/syslog -C 8 -a 'kill -HUP `cat /var/run/syslog.pid`' 43/var/adm/messages -C 4 -a 'kill -HUP `cat /var/run/syslog.pid`' 44/var/cron/log -c -s 512k -t /var/cron/olog 45/var/lp/logs/lpsched -C 2 -N -t '$file.$N' 46/var/fm/fmd/errlog -N -s 2m -M '/usr/sbin/fmadm -q rotate errlog && mv /var/fm/fmd/errlog.0- $nfile' 47smf_logs /var/svc/log/*.log -C 8 -s 1m 48# 49# The entry below is used by turnacct(1M) 50# 51/var/adm/pacct -C 0 -N -a '/usr/lib/acct/accton pacct' -g adm -m 664 -o adm -p never 52# 53# The entry below manages the Dynamic Resource Pools daemon (poold(1M)) logfile. 54# 55/var/log/pool/poold -N -s 512k -a 'pkill -HUP poold; true' 56