--- fsl.pod 2003/05/22 12:30:35 1.28
+++ fsl.pod 2003/05/22 14:01:55 1.29
@@ -106,7 +106,7 @@
context-free grammar:
B<l2-spec> ::= B<stream>
-
+
B<stream> ::= I<empty>
| B<channel>
| B<channel> '->' B<stream>
@@ -146,7 +146,7 @@
| 'null'
| 'pipe'
| 'prefix'
- | 'smtp'
+ | 'smtp'
| 'socket'
| 'syslog'
| ...
@@ -157,7 +157,7 @@
B<channel_plist> ::= B<channel_param>
| B<channel_param> ',' B<channel_plist>
-
+
B<channel_param> ::= B<param_name> '=' B<param_value>
B<param_name> ::= m/[a-zA-Z][a-zA-Z0-9_-]*/
@@ -203,7 +203,7 @@
messages poured in from upper channels to this file. If the file at
the given path already exists, additional data is either appended
(I<append>=1) or the existing file is truncated (I<append>=0). The
-desired permissions of the file can be set.
+desired permissions of the file can be set.
o file (STR path m
INT append o [0=truncate|1=append] =1
@@ -237,7 +237,7 @@
STR username o [string] =localuser"@"localhost
STR realname o [string] =username
STR channel o [string] ="#l2"
- INT join o [01] =1 use JOIN/PART
+ INT join o [01] =1 use JOIN/PART
STR host m [hostname|address]
STR port o [tcpport] =6667
INT timeout o [sec] =30
@@ -375,24 +375,24 @@
-> {
(info): filter(
regex="foo"
- )
+ )
-> syslog(
remotehost="localhost",
ident="l2"
);
info: prefix(
prefix="[%b %d %H:%M:%S] <%L> [%P]"
- )
+ )
-> {
debug/error: buffer(
size=65536
- )
+ )
-> file(
path="a"
);
(trace|debug)/(trace): buffer(
size=65536
- ) ->
+ ) ->
file(
path="b",
perm=0660
@@ -400,17 +400,17 @@
};
prefix() -> {
warning: filter(
- negate=1,
+ negate=1,
regex="foo"
- )
+ )
-> irc(
host=irc.example.com,
timeout=3
);
error: filter(
- nocase=1,
+ nocase=1,
regex="foo"
- )
+ )
-> smtp(
host=mail.example.com,
rcpt=cfo@example.com
@@ -436,45 +436,45 @@
map notice notice;
map info info;
map debug debug;
-
+
# equivalent of the usual INN syslog.conf(5) entries:
# news.crit @l_prefix@/var/inn/log/news.crit
# news.err @l_prefix@/var/inn/log/news.err
# news.notice @l_prefix@/var/inn/log/news.notice
ident (.+)/news q{
prefix(
- prefix="%b %d %H:%M:%S %N $1[%P]: ",
+ prefix="%b %d %H:%M:%S %N $1[%P]: ",
timezone=local
- )
+ )
-> {
critical: file(
path="@l_prefix@/var/inn/log/news.crit",
- append=1,
+ append=1,
perm=0644
);
error: file(
path="@l_prefix@/var/inn/log/news.err",
- append=1,
+ append=1,
perm=0644
);
notice: file(
path="@l_prefix@/var/inn/log/news.notice",
- append=1,
+ append=1,
perm=0644
)
}
}
-
+
# default logging
default (.+)/.+ q{
- debug:
+ debug:
prefix(
- prefix="%b %d %H:%M:%S <%L> $1[%P]: ",
+ prefix="%b %d %H:%M:%S <%L> $1[%P]: ",
timezone=local
- ) ->
+ ) ->
file(
- path="@l_prefix@/var/fsl/default.log",
- append=1,
+ path="@l_prefix@/var/fsl/default.log",
+ append=1,
perm=0644
)
};
@@ -553,7 +553,7 @@
=item F<@FSL_CFGDIR@/@FSL_PREFIX@*>
-B<OSSP fsl> reads configuration sections located in these files.
+B<OSSP fsl> reads configuration sections located in these files.
=back
@@ -610,7 +610,7 @@
replacement for its old B<fakesyslog> library. It was prompted by the
necessity to log to multiple files in the B<OpenPKG> F<inn> package
and to write messages of particular log levels to different files in
-the B<OpenPKG> F<postfix> package.
+the B<OpenPKG> F<postfix> package.
The resulting work was generously contributed as Open Source Software
to the B<OSSP> project by I<Cable & Wireless Deutschland GmbH>
|