--- faq.wml 2003/03/24 16:11:51 1.1
+++ faq.wml 2003/03/24 19:44:31 1.2
@@ -5,11 +5,7 @@
<h1>Faked/Flexible Syslog</h1>
-<h2>Abstract</h2>
-
-<title>Frequently Asked Questions (FAQ)</title>
-
-<h1>Frequently Asked Questions (FAQ)</h1>
+<h2>Frequently Asked Questions (FAQ)</h2>
This is a list of frequently asked questions and answers about OSSP fsl.
@@ -17,7 +13,7 @@
<preserve id title>
<set-var %attributes>
<p>
-<li><a name="<get-var id>"><b><get-var title></b></a>
+<li><a name="<get-var id>"><get-var title></a>
[<a href="#<get-var id>">A</a>]
<p>
%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.
- <p>
+ <pre>
$ grep mail.info /etc/syslog.conf
- mail.info<i>\t\t\t</i>/var/log/maillog
- </p>
+ mail.info <b>TAB</b> /var/log/maillog
+ </pre>
</faq>
<faq id="syslog-debug"
title="I want fsl to forward to syslog. How can i find out if syslog.conf(5) is correct?">
- <p>
+ <pre>
$ logger -p mail.info "message"
$ tail /var/log/maillog
Mar 24 17:01:36 host user: message
- </p>
+ </pre>
</faq>
<faq id="syslog-l2spec-local"
title="I want fsl to forward to syslog. Which l2spec logs to syslogd locally?">
- <p>
+ <pre>
$ echo "from l2, loc" \
| fsl-l2tool 'syslog(facility=mail, ident=info, target="local")'
- </p>
+ </pre>
</faq>
<faq id="syslog-l2spec-remote"
@@ -60,18 +56,18 @@
for syslogd(8) on FreeBSD, -r option for syslogd(8) on Linux or -t
for syslogd(1M) on Solaris. Also note that the l2spec requires a
certain order of the remotehost, remoteport an target
- keywords, see http://cvs.ossp.org/chngview?cn=3313.
- <p>
+ keywords, see <a href="http://cvs.ossp.org/chngview?cn=3313">CVS</a>.
+ <pre>
$ echo "from l2, net" \
| fsl-l2tool 'syslog(facility=mail, ident=info,
remotehost="127.0.0.1", remoteport="514", target="remote")'
- </p>
+ </pre>
</faq>
<faq id="syslog-fsl"
title="I want fsl to forward to syslog. Which fsl config logs to syslogd remotely?">
- <p>
+ <pre>
##
## fsl.openssh -- OSSP fsl configuration for openssh
##
@@ -91,6 +87,6 @@
)
}
};
- </p>
+ </pre>
</faq>
</ol>
|