Index: ossp-web/pkg/lib/fsl/faq.wml RCS File: /v/ossp/cvs/ossp-web/pkg/lib/fsl/faq.wml,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-web/pkg/lib/fsl/faq.wml,v' 2>/dev/null --- faq.wml 2003/03/24 16:11:51 1.1 +++ faq.wml 2003/03/24 19:44:31 1.2 @@ -5,11 +5,7 @@
-
%body @@ -31,27 +27,27 @@ title="I want fsl to forward to syslog. What is the minimum syslog configuration?"> Prepare syslog.conf(5) and keep in mind it wants to see tabs not spaces, they are marked the output manually to make that clear. -
+
$ grep mail.info /etc/syslog.conf - mail.info\t\t\t/var/log/maillog - + mail.info TAB /var/log/maillog +
+
$ logger -p mail.info "message" $ tail /var/log/maillog Mar 24 17:01:36 host user: message - +
+
$ echo "from l2, loc" \ | fsl-l2tool 'syslog(facility=mail, ident=info, target="local")' - +
$ echo "from l2, net" \ | fsl-l2tool 'syslog(facility=mail, ident=info, remotehost="127.0.0.1", remoteport="514", target="remote")' - +
+
## ## fsl.openssh -- OSSP fsl configuration for openssh ## @@ -91,6 +87,6 @@ ) } }; - +