add loglines endpoint - simple count of lines to write to stdout
add tagged loglines