Penguin
 
syslogd-listfiles(8)
LikePages

SYSLOGD-LISTFILES

SYSLOGD-LISTFILES

NAME SYNOPSIS DESCRIPTION OPTIONS SEE ALSO


NAME

syslogd-listfiles - list system logfiles

SYNOPSIS

syslogd-listfiles [ __-a__ __--auth__ [ __-f__ ''config file'' [unrenderable node] [ __--large__ ''nnn'' __--news__ [ __-w__

DESCRIPTION

Sysklogd provides a modern mechanism to log system messages. This mechanism is controlled by the file /etc/syslog.conf. Messages are divided into logfiles which can grow quite big. Therefore the logfiles need to be rotated once per day, per week or per month. On a Debian GNU/Linux system most of the files are rotated once per week.

This program helps the rotation script to determine which logfiles need to be rotated and when. It takes care of news logfiles that are handled by the news.daily script from INN. In conjunction with the scripts in /etc/cron.daily and /etc/cron.weekly it takes care of files with sensitive information.

By default a list of files for daily rotation is generated. At the moment this option only reflects entries that contain

OPTIONS

-a, --all

List all logfiles and ignore all other rules.

-f config file

Specify an alternative configuration file instead of /etc/syslog.conf, which is the default.

-s pattern

Specify a regular expression for files that must not be listed.

--auth

Only list files containing sensitive information such as the one containing auth.*.

--large nnn

Define the filesize for a large file. The size is provided in bytes. This value defaults to 10 megabytes.

--ignore-size

Don't rotate files whose file size is larger than the regular limit (see above). This option is useful if you are postprocessing logfiles which would break if log files are rotated at a different date/time.

--news

Don't exclude news logfiles which are normally handled by the news.daily script from INN.

-w, --weekly

Generate the list for weekly rotation.

SEE ALSO

syslog.conf(5), syslogd(8), savelog(8).


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.