#use wml::ossp area=pkg:lib subarea=fsl
%body
$ grep mail.info /etc/syslog.conf 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 ## ident (ssh(d|-.+)?|scp|sftp(-server)?)/.+ q{ prefix( prefix="%b %d %H:%M:%S %N <%L> $1[%P]: " ) -> { debug: file( path="/usr/opkg/var/openssh/sshd.log", append=1, perm=0644 ); debug: syslog( facility=mail, ident=info, remotehost="127.0.0.1", remoteport="514", target="remote" ) } }; ## ## fsl.postfix -- OSSP fsl configuration for Postfix ## ident (postfix/.+)/.+ q{ prefix( prefix="%b %d %H:%M:%S %N <%L> $1[%P]: " ) -> { debug: syslog( facility=mail, ident=postfix, remotehost="127.0.0.1", remoteport="514", target="remote" ) } };
$ what /cw12/sbin/postfix | grep 'OSSP fsl' OSSP fsl 1.0.8 (13-Feb-2003)If you do not have a what command use strings
$ strings /cw12/sbin/postfix | grep '@(#)OSSP fsl' @(#)OSSP fsl 1.0.8 (13-Feb-2003)Starting with fsl 1.1.0 additional information about configure options is visible
OSSP fsl config cfgdir=/cw/etc/fsl prefix=fsl.Starting with fsl 1.1.0 additional information about debugging options is visible
OSSP fsl debug logfile=/tmp/fsl/var/fsl/debuglogfile logmask=/tmp/fsl/var/fsl/debuglogmask