cat /etc/logrotate.conf
2006-10-03 00:52
218 查看
[bbs@bbs ~]$ cat /etc/logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
相关文章推荐
- [danny@ay-beta-hz-01 etc]$ cat rsyslog.conf
- [danny@ay-beta-hz-01 etc]$ cat syslog.conf
- cat /etc/keystone/keystone.conf _2
- adb:) adb push、pull、logcat and etc
- adb:) adb push、pull、logcat and etc
- cat /etc/qpidd.conf
- 重建硬连接(hard link)Will not restore a file with more than one hard link (/etc/resolv.conf) No such file or directory
- java.io.IOException: Cannot run program "/etc/hadoop/conf.cloudera.yarn/topology.py" (in directory "
- ubuntu修改etc/lightdm/lightdm.conf配置文件的命令
- linux根文件系统 /etc/resolv.conf 文件详解
- ldconfig命令与/etc/ld.so.conf的作用
- 设置Linux内核参数 /etc/sysctl.conf
- Android logCat 里面一直打印GC_EXPLICIT ,界面有反应迟钝的现象。
- 设置Linux内核参数 /etc/sysctl.conf
- cat /etc/init.d/httpd
- centos 6.3 如何修改/etc/samba/smb.conf 文件设置多个共享文件夹,一些是公开的,一些是需要认证的
- 修改/etc/resolv.conf又恢复到原来的状态?
- Android logcat System.out过滤不起作用的解决
- Linux 网络配置 修改DNS配置文件/etc/resolv.conf后,重启网络,DNS配置丢失
- /etc/resolv.conf文件详解