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

Added default logging rotation config #8974

Merged
merged 2 commits into from Sep 5, 2017

Conversation

kirrg001
Copy link
Contributor

@kirrg001 kirrg001 commented Sep 5, 2017

no issue

  • define period and count in our defaults.json config
  • advantage: easier access and better overview how logging is configured by default

NOTE: by default rotation is disabled in development and enabled in production. The values for logging are getting merged.

So if you start Ghost in production, the logging config looks like:

{ 
  level: 'info',
  rotation: { enabled: true, period: '1d', count: 10 },
  transports: [ 'file', 'stdout' ] 
}

no issue

- define `period` and `count` in our defaults.json config
- advantage: easier access and better overview how logging is configured by default
@ErisDS ErisDS merged commit 71cee50 into TryGhost:master Sep 5, 2017
@ErisDS ErisDS removed their assignment Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants