promote new channel / recycle channel msgs to INFO
This commit is contained in:
parent
704afb4409
commit
b113247f48
|
@ -457,7 +457,7 @@ let on_msg_join t name =
|
||||||
DON'T try to make a new channel *)
|
DON'T try to make a new channel *)
|
||||||
Error (nosuchchannel name)
|
Error (nosuchchannel name)
|
||||||
with Not_found ->
|
with Not_found ->
|
||||||
debug (fun m -> m "making new channel %S" name);
|
info (fun m -> m "making new channel %S" name);
|
||||||
Ok (Chan.make name)
|
Ok (Chan.make name)
|
||||||
in
|
in
|
||||||
match Router.membership chan me with
|
match Router.membership chan me with
|
||||||
|
@ -495,7 +495,7 @@ let leave t mem ~from ~why =
|
||||||
Router.part mem;
|
Router.part mem;
|
||||||
if Chan.is_empty chan then
|
if Chan.is_empty chan then
|
||||||
begin
|
begin
|
||||||
debug (fun m -> m "recycling empty channel %S" (Chan.name chan));
|
info (fun m -> m "recycling empty channel %S" (Chan.name chan));
|
||||||
Chan.unregister chan ~router:t.router;
|
Chan.unregister chan ~router:t.router;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue