Skip to content

Commit 4ff2b1e

Browse files
committed
setting default for log rotation
1 parent b5c44e6 commit 4ff2b1e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pryv/boiler",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Config and Logging boilerplate for Pryv's Node.js apps and services",
55
"main": "src/index",
66
"scripts": {

src/config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ const defaults = {
3838
},
3939
file: {
4040
active: true,
41-
path: 'application.log'
41+
path: 'application.log',
42+
rotation: {
43+
isActive: false
44+
}
4245
},
4346
airbrake: {
4447
active: false

0 commit comments

Comments
 (0)