Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log file rotation section needs to be updated in README #97

Closed
blin17 opened this issue Feb 19, 2016 · 1 comment
Closed

log file rotation section needs to be updated in README #97

blin17 opened this issue Feb 19, 2016 · 1 comment
Assignees
Labels

Comments

@blin17
Copy link

blin17 commented Feb 19, 2016

In the log file rotation section of the README, it says the following code will result in daily logging:

var accessLogStream = FileStreamRotator.getStream({
  filename: logDirectory + '/access-%DATE%.log',
  frequency: 'daily',
  verbose: false
})

However, the output is a minute-by-minute log. It should be updated to:

var accessLogStream = FileStreamRotator.getStream({
      filename: logDirectory + '/access-%DATE%.log',
      frequency: 'daily',
      verbose: false,
      date_format: 'YYYYMMDD'
    });

This produces a day-by-day log.

@dougwilson dougwilson self-assigned this Feb 19, 2016
@dougwilson
Copy link
Contributor

Thanks for the heads-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants