diff --git a/scripts/README.md b/scripts/README.md index 6769049..0a49192 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -40,27 +40,22 @@ The script will provide Debian's netboot installers with **additionnals firmware #### Description Some useful configurations after a Debian installation : * Smarter rsyslog (more directories and less files in **/var/log**). + * Shorter configuration file and use more files from /etc/rsyslog.d/ + * Move log files to directory : + * _kern_ logs from /var/log/kern.log to __/var/log/kernel/kernel.log__ + * _user_ logs from /var/log/user.log to __/var/log/security/user.log__ + * _mail_ logs from /var/log/mail.… to __/var/log/mail/mail.…__ + * _daemon_ logs from /var/log/daemon.log to __/var/log/syslog/daemon.log__ + * _auth_ logs from /var/log/auth.log to __/var/log/security/auth.log__ + * _lpr_ logs from/var/log/lpr.log| __/var/log/lpr/lpr.log__ + * _cron_ logs from /var/log/cron.log to __/var/log/cron/cron.log__ + * _localX_ logs from /var/log/localX.log to __/var/log/syslog/localX.log__ + * _syslog_ logs from /var/log/syslog.log to __/var/log/syslog/syslog.log__ + * _authpriv_ logs from … to __/var/log/security/authpriv.log__ * Smarter logrotate (add timestamp, move some old log files to the same directory,…). * Remove some useless packages. * … - * /etc/rsyslog.conf - * Shorter configuration file and use more files from /etc/rsyslog.d/ - * /etc/rsyslog.d/99syslog.conf -| Logs | Original path | New path | -| ---------- | ------------------- | ---------------------------------- | -| _kern_ | /var/log/kern.log | __/var/log/kernel/kernel.log__ | -| _user_ | /var/log/user.log | __/var/log/security/user.log__ | -| _mail_ | /var/log/mail.… | __/var/log/mail/mail.…__ | -| _daemon_ | /var/log/daemon.log | __/var/log/syslog/daemon.log__ | -| _auth_ | /var/log/auth.log | __/var/log/security/auth.log__ | -| _lpr_ | /var/log/lpr.log | __/var/log/lpr/lpr.log__ | -| _cron_ | /var/log/cron.log | __/var/log/cron/cron.log__ | -| _localX_ | /var/log/localX.log | __/var/log/syslog/localX.log__ | -| _syslog_ | /var/log/syslog.log | __/var/log/syslog/syslog.log__ | -| _authpriv_ | … | __/var/log/security/authpriv.log__ | - - #### How-to use it * First, make an archive of the script and directories : ```