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 append #27

Open
brucewar opened this issue Aug 13, 2014 · 2 comments
Open

log file append #27

brucewar opened this issue Aug 13, 2014 · 2 comments

Comments

@brucewar
Copy link

if i renew Log, the log content will append to the start of log file. I want to append log content to the end of the file. How to deal with it.

@fishbar
Copy link

fishbar commented Oct 15, 2014

check the api file:

fs.createWriteStream(fpath, options)

you need to change the file flag when you create a log stream.

@brucewar
Copy link
Author

thank you, i solved it

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

No branches or pull requests

2 participants