Skip to content

Commit

Permalink
remove legacy chatlog logging to file
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Feb 26, 2024
1 parent fac8513 commit c638b6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/domains/cho.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ async def handle(self, player: Player) -> None:
t_chan.send(msg, sender=player)

player.update_latest_activity_soon()
log(f"{player} @ {t_chan}: {msg}", Ansi.LCYAN, file=".data/logs/chat.log")
log(f"{player} @ {t_chan}: {msg}", Ansi.LCYAN)


@register(ClientPackets.LOGOUT, restricted=True)
Expand Down Expand Up @@ -1299,7 +1299,7 @@ async def handle(self, player: Player) -> None:
player.send(resp_msg, sender=target)

player.update_latest_activity_soon()
log(f"{player} @ {target}: {msg}", Ansi.LCYAN, file=".data/logs/chat.log")
log(f"{player} @ {target}: {msg}", Ansi.LCYAN)


@register(ClientPackets.PART_LOBBY)
Expand Down

0 comments on commit c638b6b

Please sign in to comment.