Skip to content

Commit

Permalink
Merge pull request #1680 from fengzeroz/main
Browse files Browse the repository at this point in the history
chore(log): default size
  • Loading branch information
fengzeroz authored Nov 21, 2023
2 parents a99a147 + 44673da commit cea0ffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ syslog = "%d:%ms %H neuron[%p]: [%V] [%c] %f:%L %m%n"

[rules]

*.* "./logs/%c.log", 50MB * 1 ~ "./logs/%c.#2s.log"; file_format
*.* "./logs/%c.log", 25MB * 1 ~ "./logs/%c.#2r.log"; file_format
*.* >stdout; stdout_format
*.* $remote_syslog; syslog
2 changes: 1 addition & 1 deletion zlog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ syslog = "%d:%ms %H neuron[%p]: [%V] [%c] %f:%L %m%n"

[rules]

*.* "./logs/%c.log", 50MB * 1 ~ "./logs/%c.#2s.log"; simple
*.* "./logs/%c.log", 25MB * 1 ~ "./logs/%c.#2r.log"; simple
*.* $remote_syslog; syslog

0 comments on commit cea0ffa

Please sign in to comment.