We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
parse-server 2.2.0 running locally or hosted in AWS
Parse.Cloud.define("hello", function(request, response) { console.log("TEST LOG"); console.warn("TEST WARN"); console.error("TEST ERROR"); response.success("OK"); });
parse-server-example running on port 1337.
POST /parse/functions/hello { host: 'localhost:1337', 'user-agent': 'curl/7.43.0', accept: '*/*', 'x-parse-application-id': '*****', 'x-parse-rest-api-key': '*****', 'content-type': 'application/json', 'content-length': '2' } {} TEST LOG TEST WARN TEST ERROR response: { "response": { "result": "OK" } }
Is there anything to setup so that console.log, console.warn and console.error calls are redirected to the default winston logger?
The text was updated successfully, but these errors were encountered:
I have the similar problem with no luck.
Sorry, something went wrong.
This is working as intended. You need to configure FileLoggerAdapter in order to enable writing logs to disk.
FileLoggerAdapter
See Fosco's comment in #781 for an example of how the FileLoggerAdapter can be set up.
No branches or pull requests
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Environment Setup
parse-server 2.2.0 running locally or hosted in AWS
Steps to reproduce
Logs/Trace
parse-server-example running on port 1337.
Is there anything to setup so that console.log, console.warn and console.error calls are redirected to the default winston logger?
The text was updated successfully, but these errors were encountered: