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

Winston log integration and log rotation features #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

giannicic
Copy link

This commit uses Winston logging for forever logFile, outFile and
errFile. It's possible to use the log rotation features of winston (see
tailable, maxsize, maxFiles and zippedArchive options).
See foreversd/forever#128
Note that log rotation for the logFile will not work if the spawner of
this process (forever) has provided a file descriptor for stdout and
stderr, those values must be setted to 'ignore' and will be subject of a
PR to the forever repository

giannicic and others added 2 commits July 29, 2016 15:36
This commit uses Winston logging for forever logFile, outFile and
errFile. It's possible to use the log rotation features of winston (see
tailable, maxsize, maxFiles and zippedArchive options).
See foreversd/forever#128
Note that log rotation for the logFile will not work if the spawner of
this process (forever) has provided a file descriptor for stdout and
stderr, those values must be setted to 'ignore' and will be subject of a
PR to the forever repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants