Index: ossp-web/pkg/lib/fsl/faq.wml RCS File: /v/ossp/cvs/ossp-web/pkg/lib/fsl/faq.wml,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-web/pkg/lib/fsl/faq.wml,v' | diff -u /dev/null - -L'ossp-web/pkg/lib/fsl/faq.wml' 2>/dev/null --- ossp-web/pkg/lib/fsl/faq.wml +++ - 2025-04-17 05:37:08.911616571 +0200 @@ -0,0 +1,96 @@ + +#use wml::ossp area=pkg:lib subarea=fsl + +OSSP fsl + +

Faked/Flexible Syslog

+ +

Abstract

+ +Frequently Asked Questions (FAQ) + +

Frequently Asked Questions (FAQ)

+ +This is a list of frequently asked questions and answers about OSSP fsl. + + + + +

+

  • + [A] +

    + %body +

  • + +
    + +
      + + + 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 +

      +
      + + +

      + $ 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")' +

      +
      + + + Make sure syslogd accepts network connections, see it's -s option + 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. +

      + $ 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" + ) + } + }; +

      +
      +
    Index: ossp-web/pkg/lib/fsl/index.wml RCS File: /v/ossp/cvs/ossp-web/pkg/lib/fsl/index.wml,v rcsdiff -q -kk '-r1.16' '-r1.17' -u '/v/ossp/cvs/ossp-web/pkg/lib/fsl/index.wml,v' 2>/dev/null --- index.wml 2003/02/13 15:56:35 1.16 +++ index.wml 2003/03/24 16:11:51 1.17 @@ -29,7 +29,8 @@

    Documentation

    , -. +, +Frequently Asked Questions (FAQ)

    Authors