Skip to content

Commit

Permalink
Merge 5971f17 into 12a48c5
Browse files Browse the repository at this point in the history
  • Loading branch information
Allanbikundo committed Dec 24, 2019
2 parents 12a48c5 + 5971f17 commit 86a7911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ var rfs = require('rotating-file-stream')
var app = express()

// create a rotating write stream
var accessLogStream = rfs('access.log', {
var accessLogStream = rfs.createStream('access.log', {
interval: '1d', // rotate daily
path: path.join(__dirname, 'log')
})
Expand Down

0 comments on commit 86a7911

Please sign in to comment.