##
##  fsl.default -- default 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{
    debug: 
    prefix(
        prefix="%b %d %H:%M:%S <%L> $1[%P]: ", 
        timezone=local
    ) -> 
    file(
        path="@l_prefix@/var/fsl/default.log", 
        append=1, 
        perm=0644
    )
};

