Skip to content

Commit

Permalink
Merge pull request #1681 from fengzeroz/v2.6
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 4da4f3e + c0d7795 commit 4e0b307
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 4e0b307

Please sign in to comment.