| Current File : //etc/logadm.conf |
#
# Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
#
# logadm.conf
#
# Default settings for system log file management.
# The -w option to logadm(1M) is the preferred way to write to this file,
# but if you do edit it by hand, use "logadm -V" to check it for errors.
#
# The format of lines in this file is:
# <logname> <options>
# For each logname listed here, the default options to logadm
# are given. Options given on the logadm command line override
# the defaults contained in this file.
#
# logadm typically runs early every morning via an entry in
# root's crontab (see crontab(1)).
#
/var/log/syslog -C 8 -a '/usr/sbin/svccfg -s svc:/system/system-log refresh'
/var/adm/messages -C 4 -a '/usr/sbin/svccfg -s svc:/system/system-log refresh'
/var/cron/log -c -s 512k -t /var/cron/olog
/var/fm/fmd/errlog -M '/usr/sbin/fmadm -q rotate errlog && mv /var/fm/fmd/errlog.0- $nfile' -N -s 2m
/var/fm/fmd/fltlog -A 6m -M '/usr/sbin/fmadm -q rotate fltlog && mv /var/fm/fmd/fltlog.0- $nfile' -N -s 10m
smf_logs -C 8 -c -s 1m /var/svc/log/*.log
/var/log/vntsd/*/console-log -C 6 -S 100m -c -p 1m -s 1b
#
# The entry below is used by turnacct(1M)
#
/var/adm/pacct -C 0 -N -a '/usr/lib/acct/accton pacct' -g adm -m 664 -o adm -p never
#
# The entry below manages the Dynamic Resource Pools daemon (poold(1M)) logfile.
#
/var/log/pool/poold -N -a 'pkill -HUP poold; true' -s 512k
/var/log/authlog -C 8 -a 'kill -HUP `cat /var/run/syslog.pid`'
# DO NOT MODIFY logadm-upgrade-begin DO NOT MODIFY
# DO NOT MODIFY Added by logadm-upgrade for /etc/logadm.d/fmd.logadm.conf
/var/fm/fmd/infolog -N -A 2y -S 50m -s 10m -M '/usr/sbin/fmadm -q rotate infolog && mv /var/fm/fmd/infolog.0- $nfile'
/var/fm/fmd/infolog_hival -N -A 2y -S 50m -s 10m -M '/usr/sbin/fmadm -q rotate infolog_hival && mv /var/fm/fmd/infolog_hival.0- $nfile'
# DO NOT MODIFY Added by logadm-upgrade for /etc/logadm.d/zoneadm.logadm.conf
/var/log/zones/zoneadm.* -A 60d -p never -t $file
/var/log/zones/*.{console,messages} -C 4 -N -p 1w -m 600 \
-a 'pkill -HUP -z global -u root -x zoneadmd || true'
/var/log/zones/zone_cmd -C 4 -N -p 1w -m 600
# DO NOT MODIFY logadm-upgrade-end DO NOT MODIFY