promote new channel / recycle channel msgs to INFO

This commit is contained in:
tali 2024-01-31 18:43:15 -05:00
parent 704afb4409
commit b113247f48
1 changed files with 2 additions and 2 deletions

View File

@ -457,7 +457,7 @@ let on_msg_join t name =
DON'T try to make a new channel *)
Error (nosuchchannel name)
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)
in
match Router.membership chan me with
@ -495,7 +495,7 @@ let leave t mem ~from ~why =
Router.part mem;
if Chan.is_empty chan then
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;
end