log at info if nobody is interested in stats

This commit is contained in:
Hannes Mehnert 2019-01-06 03:52:37 +01:00
parent cd01611efb
commit 623a449ea2
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ let tick t =
List.fold_left (fun out (vmid, pid) ->
let listeners = Vmm_trie.collect vmid t'.name_sockets in
match listeners with
| [] -> Logs.warn (fun m -> m "nobody is listening") ; out
| [] -> Logs.info (fun m -> m "nobody is listening") ; out
| xs -> match IM.find_opt pid t.pid_nic with
| None -> Logs.warn (fun m -> m "couldn't find nics of %d" pid) ; out
| Some (vmctx, nics) ->