Skip to content

Commit

Permalink
chore(log): default size
Browse files Browse the repository at this point in the history
  • Loading branch information
fengzeroz committed Nov 21, 2023
1 parent 4da4f3e commit c0d7795
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 c0d7795

Please sign in to comment.