Server IP : 85.214.239.14 / Your IP : 3.135.201.101 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/root/proc/3/cwd/proc/2/root/usr/share/doc/rsyslog/ |
Upload File : |
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.