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

ident (pdns)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/powerdns/log/pdns.log",
            perm=0660, jitter=1, monitor=3600
        )
    }
};

ident (bindbe)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/powerdns/log/bindbe.log",
            perm=0660, jitter=1, monitor=3600
        )
    }
};

ident (bind2be)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/powerdns/log/bind2be.log",
            perm=0660, jitter=1, monitor=3600
        )
    }
};

ident (randbe)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/powerdns/log/randbe.log",
            perm=0660, jitter=1, monitor=3600
        )
    }
};

ident (gsqlbe)/.+ q{
    prefix(
        prefix="%b %d %H:%M:%S %N <%L> $1[%P]: "
    )
    -> {
        debug: file(
            path="@l_prefix@/var/powerdns/log/gsqlbe.log",
            perm=0660, jitter=1, monitor=3600
        )
    }
};

