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

Attempt to write logs with no transports #80

Closed
iantmc87 opened this issue Nov 11, 2021 · 1 comment
Closed

Attempt to write logs with no transports #80

iantmc87 opened this issue Nov 11, 2021 · 1 comment

Comments

@iantmc87
Copy link

Summary

In our serverless node app, with every API call, we are seeing errors relating to attempting to write logs with no transports

Details

Setting enableLog to false, when creating the API client should result in not seeing anything in the logs around logging, but even when enableLog is set to false we are constantly seeing this error message in the logs:

ERROR [winston] Attempt to write logs with no transports

Other comments

It looks like a fix was put in recently relating to issue #66 around the enableFlag not working, which stopped it actually writing logs to the filesystem which caused read-only errors (serverless infrastructure), but it still hasn't been fixed completely

@iantmc87
Copy link
Author

iantmc87 commented Aug 5, 2022

Anyone else experiencing this error the latest version 0.0.40 includes a fix which seems to have stopped this issue for us

@iantmc87 iantmc87 closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant