if $programname == 'ttn-listener' then /var/log/ttn-listener/ttn-listener.log
if $programname == 'ttn-listener' then stop