文件操作 - syslog-ng.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/logwatch/default.conf/services/syslog-ng.conf
编辑文件内容
########################################################################### # $Id: syslog-ng.conf,v 1.4 2009/11/29 12:41:47 general stab $ ########################################################################### # You can put comments anywhere you want to. They are effective for the # rest of the line. # this is in the format of <name> = <value>. Whitespace at the beginning # and end of the lines is removed. Whitespace before and after the = sign # is removed. Everything is case *insensitive*. # Yes = True = On = 1 # No = False = Off = 0 Title = "Syslog-ng" # Which logfile group... LogFile = messages # Only give lines pertaining to the syslogd service... *OnlyService = "syslog-ng\[[0-9]*\]" *RemoveHeaders ######################################################## # This was written and is maintained by: # Stefan Jakobs <logwatch at localside.net> # # Please send all comments, suggestions, bug reports, # etc, to logwatch at localside.net. ######################################################## # vi: shiftwidth=3 tabstop=3 et
修改文件时间
将文件时间修改为当前时间的前一年
删除文件