mirror of
https://github.com/emqx/neuron.git
synced 2026-10-18 13:41:22 +08:00
Merge pull request #939 from fengzeroz/main
log to stdout with category
This commit is contained in:
@@ -4,9 +4,10 @@ file perms = 666
|
||||
|
||||
[formats]
|
||||
|
||||
simple = "%d [%V] [%c] %f:%L %m%n"
|
||||
stdout_format = "%d [%V] [%c] %f:%L %m%n"
|
||||
file_format = "%d [%V] %f:%L %m%n"
|
||||
|
||||
[rules]
|
||||
|
||||
*.* "./logs/%c.log", 10MB * 3 ~ "./logs/%c.#2s.log"; simple
|
||||
*.* >stdout; simple
|
||||
*.* "./logs/%c.log", 10MB * 3 ~ "./logs/%c.#2s.log"; file_format
|
||||
*.* >stdout; stdout_format
|
||||
|
||||
Reference in New Issue
Block a user