diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2019-09-14 11:34:35 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-09-14 11:34:35 +0700 |
commit | 7f48ddbfdc26e576b7307e54d7b1841fadda1ebd (patch) | |
tree | bc79c94d2ca21064e53b49032307b31d0c9a9f5f /system/socklog/README.Slackware | |
parent | 5875cbbae460af3e169490ccd53ac45cb9908d78 (diff) |
system/socklog: Added (system and kernel logging services).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/socklog/README.Slackware')
-rw-r--r-- | system/socklog/README.Slackware | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/system/socklog/README.Slackware b/system/socklog/README.Slackware new file mode 100644 index 0000000000000..4cc0c2b4d87ec --- /dev/null +++ b/system/socklog/README.Slackware @@ -0,0 +1,55 @@ +To use the socklog package for system logging, following steps can be followed: + +Create the service directory and log directories by running the socklog-conf program: + + # socklog-conf unix daemon adm + +If you are replacing another service providing system logging through the socket /dev/log, + such as syslogd, stop it now and ensure that it will not be restarted on runlevel change + or system reboot. + +Tell runsvdir about the new service: + + # ln -s /etc/sv/socklog-unix /var/service/ + +Wait five seconds for the service to start and then check the log directories, e.g.: + + # less /var/log/socklog/main/current + + Optionally configure the socklog-unix service by editing the corresponding run scripts and config files: + + /var/service/socklog-unix/run + /var/service/socklog-unix/log/run + /var/log/socklog/*/config + +------------------------------------- + +For capturing kernel log: + +Create the service directory and log directories by running the socklog-conf program: + + # socklog-conf klog daemon adm + +If you are replacing another service providing kernel logging, such as klogd on Linux or syslogd on BSD, + stop it now and ensure that it will not be restarted on runlevel change or system reboot. + +Tell runsvdir about the new service: + + # ln -s /etc/sv/socklog-klog /var/service/ + +Wait five seconds for the service to start and then check the log directory: + + # less /var/log/socklog-klog/main/current + +Optionally configure the socklog-klog service by editing the corresponding run scripts and config file: + + /var/service/socklog-klog/run + /var/service/socklog-klog/log/run + /var/log/socklog-klog/config + +---------------------------------------- + +For more details and setting up network logging, check the following link: + +http://smarden.org/socklog/configuration.html + |