##
##  fsl.fsl -- OSSP fsl configuration
##

#   map syslog(3) API priorities to OSSP l2 levels
#   Notes:  - syslog(3) has no corresponding priority for OSSP l2 "trace"
#           - OSSP l2 has no corresponding level for syslog(3) emerg
map emerg   panic;
map alert   panic;
map crit    critical;
map err     error;
map warning warning;
map notice  notice;
map info    info;
map debug   debug;

#   default logging specification
default (.+)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/fsl/fsl.log",
            perm=0644
        )
    }
};

