Loglines: Counter; status every 5s with counter.
This commit is contained in:
parent
9cee5add9e
commit
fa8f42940e
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue