Loglines: Counter; status every 5s with counter.

This commit is contained in:
Denis Knauf 2010-04-01 14:42:39 +02:00
parent 9cee5add9e
commit fa8f42940e
2 changed files with 4 additions and 3 deletions

View file

@ -90,7 +90,7 @@ module LogAn::Inc
@select = LogAn::Inc::Select.new
status = lambda do
@select.at Time.now+5, &status
LogAn::Logging.info @select
LogAn::Logging.info :recv_lines => @logs.counter, :connections => @serv
@conf[:stores].each{|key, db| db.flush!}
end
status.call