Reviewers: mp+214150_code.launchpad.net, Message: Please take a look. Description: Extend the tailer utility. When looking at the pyjuju debug-log, there was a replay function that allowed getting the log from the start. There was no way to tell the tailer to start from the beginning of the file. I changed the meaning of NewTailer to be one that doesn't do any seeking. The NewTailerBacktrack does seek to the end, and then goes back a certain number of lines. There was a bug in the backtrack tailer when zero lines were passed in. This is fixed and a test added. In order to provide a synchronization mechanism for other tests, the Tailer has a public function param that is called after the backtracking, and prior to starting tailing. The number of lines to look back is now a unit, as negative values make no sense at all. https://code.launchpad.net/~thumper/juju-core/tailer-tweaks/+merge/214150 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/84290045/ Affected files (+53, -12 lines): A [revision details] M container/lxc/clonetemplate.go M utils/tailer/tailer.go M utils/tailer/tailer_test.go Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: tarmac-20140404003547-v7dzlndz9bq9h4qd +New revision: