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 cannot write log to log file #38

Closed
reuwi opened this issue Jul 12, 2019 · 3 comments
Closed

Winston cannot write log to log file #38

reuwi opened this issue Jul 12, 2019 · 3 comments

Comments

@reuwi
Copy link

reuwi commented Jul 12, 2019

The log filename has to be absolute path like: path.resolve(__dirname, 'error.log'), which issue can be found here: winstonjs/winston#1001

@javieraviles
Copy link
Owner

would you mind creating a pull request, please?

thanks in advance :)

@javieraviles
Copy link
Owner

I just gave it a try and it works perfectly fine for me as it is right now... it creates the error.log file and contains the logs... am I maybe missing something?

@javieraviles
Copy link
Owner

Just fixed this using your path solution, here the PR, will merge it probably tomorrow, thanks!

#59

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