mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Added default logging rotation config (#8974)
no issue - define `period` and `count` in our defaults.json config - advantage: easier access and better overview how logging is configured by default - period is 1d and count is 10
This commit is contained in:
parent
1fe87a6110
commit
71cee504c2
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@
|
||||||
"logging": {
|
"logging": {
|
||||||
"level": "info",
|
"level": "info",
|
||||||
"rotation": {
|
"rotation": {
|
||||||
"enabled": false
|
"enabled": false,
|
||||||
|
"period": "1d",
|
||||||
|
"count": 10
|
||||||
},
|
},
|
||||||
"transports": ["stdout"]
|
"transports": ["stdout"]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue