if $programname == 'wapttasks' then {
    /var/log/wapttasks.log
    stop
}