diff options
author | Mario Preksavec <mario@slackware.hr> | 2019-10-03 20:24:55 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-05 13:51:58 +0700 |
commit | 8b8f4c8fc482004c5bde967a63aaad4dd141b5ce (patch) | |
tree | 70c79b769620dab9504cfb979f123619ebd715b6 /system/syslog-ng | |
parent | 9a5a6375efa5ac7b5585d854b934c95569958300 (diff) | |
download | slackbuilds-8b8f4c8fc482004c5bde967a63aaad4dd141b5ce.tar.gz |
system/syslog-ng: Config file update
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/syslog-ng')
-rw-r--r-- | system/syslog-ng/syslog-ng.SlackBuild | 2 | ||||
-rw-r--r-- | system/syslog-ng/syslog-ng.conf | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/system/syslog-ng/syslog-ng.SlackBuild b/system/syslog-ng/syslog-ng.SlackBuild index 06c9d5b7cc..8a199d7a02 100644 --- a/system/syslog-ng/syslog-ng.SlackBuild +++ b/system/syslog-ng/syslog-ng.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for syslog-ng -# Copyright 2010, 2012, 2013, 2016, 2017 Mario Preksavec, Zagreb, Croatia +# Copyright 2010, 2012, 2013, 2016, 2017, 2019 Mario Preksavec, Zagreb, Croatia # All rights reserved. # # Redistribution and use of this script, with or without modification, is diff --git a/system/syslog-ng/syslog-ng.conf b/system/syslog-ng/syslog-ng.conf index 1770521d79..8ef417f569 100644 --- a/system/syslog-ng/syslog-ng.conf +++ b/system/syslog-ng/syslog-ng.conf @@ -5,6 +5,7 @@ # For info about the format of this file, see "man syslog-ng.conf" # Written by Mario Preksavec <mario at slackware dot hr> # Updated by Janos Szigetvari <jszigetvari at gmail dot com> +# Thanks to Andrea Biardi <a.biardi at tiscali dot it> options { flush_lines(0); @@ -45,7 +46,15 @@ destination d_debug { file("/var/log/debug"); }; destination d_secure { file("/var/log/secure"); }; destination d_cron { file("/var/log/cron"); }; destination d_maillog { file("/var/log/maillog"); }; -destination d_usertty { usertty("*"); }; +destination d_usertty { + usertty("*"); + # Notify all logged-in users; note that, although running as root, + # syslog-ng drops some key capabilities at runtime, so the process + # must belong to the tty group in order to be able to open /dev/tty* + # and /dev/pts/* for writing. + # This can be done either by running sylog-ng with "-g tty" or by + # adding root to the "tty" group. +}; destination d_spooler { file("/var/log/spooler"); }; # Log anything 'info' or higher, but lower than 'warn'. |