feat: update zlog configuration for websocket logging

This commit is contained in:
eeff
2022-06-30 18:20:40 +08:00
parent cbf51beffe
commit 36466b51df
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -4,4 +4,5 @@ simple = "%d [%V] [%c] %f:%L %m%n"
[rules]
*.DEBUG >stdout; simple
*.DEBUG >stdout; simple
*.DEBUG $ws, ""; simple
+2 -1
View File
@@ -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
*.INFO "./logs/%c.log", 10MB * 3 ~ "%c-%d(%Y%m%d).#2s.log"; simple
*.INFO $ws, ""; simple