Reviewers: mp+215333_code.launchpad.net, Message: Please take a look. Description: Fix the limit for the debug-log calls. Unbeknownst to me, the filter method was being called during the backlog iteration as well. This fix introduces a callback that the tailer calls when it starts the forward filtering. This allows us to count the filter calls only when the filter is being called to write out the results. We cannot count the write calls because the tailer uses buffered i/o there. https://code.launchpad.net/~thumper/juju-core/fix-backlog-limits/+merge/215333 Requires: https://code.launchpad.net/~thumper/juju-core/debug-log-api/+merge/215323 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/85570045/ Affected files (+42, -10 lines): A [revision details] M container/lxc/clonetemplate.go M state/apiserver/debuglog.go M state/apiserver/debuglog_internal_test.go M state/apiserver/debuglog_test.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: