Output the default logline using a pattern rather than hard coded

This is what I have so far, just building the default logline with a pattern. It's a pretty naive approach so far.