You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Michael Biebl 0bdc3cb661 Release version 8.31.0-2 to unstable 5 years ago
..
examples Ship an example file for logging to the console on tty8 7 years ago
patches Rebase patches 5 years ago
source Switch to source format 3.0 (quilt) 12 years ago
NEWS Update package for changed SIGHUP handling 12 years ago
README.Debian Remove section about sysklogd from README.Debian 7 years ago
changelog Release version 8.31.0-2 to unstable 5 years ago
compat Bump debhelper compat level to 10 6 years ago
control Bump Standards-Version to 4.1.2 5 years ago
copyright Update Format URL in debian/copyright 11 years ago
gbp.conf Set debian-branch to master 8 years ago
rsyslog-czmq.README.Debian Small format and spelling fixes 7 years ago
rsyslog-czmq.install Install module libraries into multiarch paths 6 years ago
rsyslog-elasticsearch.install Install module libraries into multiarch paths 6 years ago
rsyslog-gnutls.install Install module libraries into multiarch paths 6 years ago
rsyslog-gssapi.install Install module libraries into multiarch paths 6 years ago
rsyslog-hiredis.install Enable hiredis output plugin 6 years ago
rsyslog-kafka.README.Debian Fix spelling error in README.Debian 8 years ago
rsyslog-kafka.install Enable imkafka input plugin 5 years ago
rsyslog-mongodb.README.Debian Build ommongodb module 10 years ago
rsyslog-mongodb.install Install module libraries into multiarch paths 6 years ago
rsyslog-mysql.conf.template Modernize config syntax for rsyslog-mysql and rsyslog-pgsql 5 years ago
rsyslog-mysql.config Do not ignore errors in config maintainer scripts. 14 years ago
rsyslog-mysql.install Install module libraries into multiarch paths 6 years ago
rsyslog-mysql.postinst Drop useless "exit 0" from maintainer scripts 9 years ago
rsyslog-mysql.postrm Drop useless "exit 0" from maintainer scripts 9 years ago
rsyslog-mysql.prerm Drop useless "exit 0" from maintainer scripts 9 years ago
rsyslog-pgsql.conf.template Modernize config syntax for rsyslog-mysql and rsyslog-pgsql 5 years ago
rsyslog-pgsql.config Do not ignore errors in config maintainer scripts. 14 years ago
rsyslog-pgsql.install Install module libraries into multiarch paths 6 years ago
rsyslog-pgsql.postinst Drop useless "exit 0" from maintainer scripts 9 years ago
rsyslog-pgsql.postrm Drop useless "exit 0" from maintainer scripts 9 years ago
rsyslog-pgsql.prerm Drop useless "exit 0" from maintainer scripts 9 years ago
rsyslog-relp.install Install module libraries into multiarch paths 6 years ago
rsyslog-rotate Don't rely on SysV init script in logrotate config 5 years ago
rsyslog.conf Remove logging rules for news.{crit,err,notice} (INN) 6 years ago
rsyslog.default Remove unnecessary duplication from the init script and also drop the -c compatibility mode option. 10 years ago
rsyslog.dirs Setup $WorkDirectory 11 years ago
rsyslog.docs Install upstream AUTHORS file. 14 years ago
rsyslog.examples Remove logging to /dev/xconsole from the default rsyslog configuration 7 years ago
rsyslog.init Change PID file to use /run/rsyslog.pid instead of /var/run/rsyslog.pid 5 years ago
rsyslog.install Enable mmfields module 5 years ago
rsyslog.lintian-overrides Add lintian override for init.d-script-missing-dependency-on-remote_fs 13 years ago
rsyslog.logcheck.ignore.server Update logcheck rule. (Closes: #616659) 12 years ago
rsyslog.logrotate Don't rely on SysV init script in logrotate config 5 years ago
rsyslog.postinst Update dpkg trigger to use try-restart 6 years ago
rsyslog.postrm Use consistent syntax 8 years ago
rsyslog.preinst Drop obsolete migration code from pre-wheezy 6 years ago
rsyslog.prerm Use dh-systemd for proper systemd support 9 years ago
rsyslog.triggers Trigger restart on configuration changes 6 years ago
rules Revert "Use dh_auto_test instead of calling make check directly" 5 years ago
watch Update watch file to not match rsyslog-doc 8 years ago

README.Debian

rsyslog for Debian
==================

Configuration file(s)
---------------------
The default configuration file for rsyslog is /etc/rsyslog.conf.

Its format is based on the standard syslog.conf format. As rsyslog
has a lot more advanced features than sysklogd, it extends this format
with special configuration directives which all start with the '$'
prefix. See the rsyslogd(8) and rsyslog.conf(5) man pages for further
information or install the rsyslog-doc package which provides much
more detailed documentation.

The Debian default configuration for rsyslog uses:

$IncludeConfig /etc/rsyslog.d/*.conf

That means, all configuration files in /etc/rsyslog.d/ with a .conf file
extension are read by rsyslog. This way the rsyslog configuration can be
extended easily (either by package maintainers or local administrators).


Log rotation
------------
Rsyslog uses the logrotate(8) utilitiy to rotate the standard Debian
log files. The configuration file can be found at
/etc/logrotate.d/rsyslog.

The rotation cycle starts with .1, as this is the logrotate default.
In contrast to sysklogd, which starts with .0.

When upgrading from sysklogd, the postinst script will automatically
rotate the existing standard Debian log files, if it is safe to do so
(i.e. only if .0 is newer than .1).


Logging to xconsole
-------------------
The default rsyslog configuration no longer forwards any log messages to
/dev/xconsole. It is simple to re-enable support for xconsole though. For that,
the rsyslog package ships example files in /usr/share/doc/rsyslog/examples.

To create the /dev/xconsole pipe, copy examples/tmpfiles.d/xconsole.conf to
/etc/tmpfiles.d/ and then run "systemd-tmpfiles --create xconsole.conf".

And finally copy examples/rsyslog.d/xconsole.conf to /etc/rsyslog.d/ and
restart the rsyslog service.