P2p: improve logging level
This commit is contained in:
parent
d29f426b8e
commit
4adf696c65
@ -47,7 +47,7 @@ type t = {
|
|||||||
(* we use a prefix ' cnx:' that allows easy grepping in the log to lookup
|
(* we use a prefix ' cnx:' that allows easy grepping in the log to lookup
|
||||||
everything related to a particular connection. *)
|
everything related to a particular connection. *)
|
||||||
let log t fmt =
|
let log t fmt =
|
||||||
Format.kasprintf (fun s -> Log.log_info "cnx:%d:%s" t.id s) fmt
|
Format.kasprintf (fun s -> Log.debug "cnx:%d:%s" t.id s) fmt
|
||||||
|
|
||||||
let create =
|
let create =
|
||||||
let counter = ref 0 in
|
let counter = ref 0 in
|
||||||
|
Loading…
Reference in New Issue
Block a user