From 36466b51df20bedcc80f90b2c83f2afd2b8f79f6 Mon Sep 17 00:00:00 2001 From: eeff <33566201+eeff@users.noreply.github.com> Date: Thu, 30 Jun 2022 18:20:40 +0800 Subject: [PATCH] feat: update zlog configuration for websocket logging --- dev.conf | 3 ++- zlog.conf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dev.conf b/dev.conf index 1d3f5e10..caf5f6ff 100644 --- a/dev.conf +++ b/dev.conf @@ -4,4 +4,5 @@ simple = "%d [%V] [%c] %f:%L %m%n" [rules] -*.DEBUG >stdout; simple \ No newline at end of file +*.DEBUG >stdout; simple +*.DEBUG $ws, ""; simple diff --git a/zlog.conf b/zlog.conf index 405a80f8..567541b0 100644 --- a/zlog.conf +++ b/zlog.conf @@ -9,4 +9,5 @@ simple = "%d [%V] %f:%L %m%n" [rules] -*.INFO "./logs/%c.log", 10MB * 3 ~ "%c-%d(%Y%m%d).#2s.log"; simple \ No newline at end of file +*.INFO "./logs/%c.log", 10MB * 3 ~ "%c-%d(%Y%m%d).#2s.log"; simple +*.INFO $ws, ""; simple