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