Skip to content

Commit

Permalink
docs: fix file name in rotation example
Browse files Browse the repository at this point in the history
fixes #97
  • Loading branch information
dougwilson committed Feb 19, 2016
1 parent 262254d commit 9f5a2ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ fs.existsSync(logDirectory) || fs.mkdirSync(logDirectory)

// create a rotating write stream
var accessLogStream = FileStreamRotator.getStream({
date_format: 'YYYYMMDD',
filename: logDirectory + '/access-%DATE%.log',
frequency: 'daily',
verbose: false
Expand Down

0 comments on commit 9f5a2ee

Please sign in to comment.