Add capturewithlog mode to branch
Use Writer for log ouput
Fix search within lines steps and add a self test