parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Selective logging for cloud functions with base64 output (referencing #3918)

Open FValent3 opened this issue 2 years ago • 1 comments

New Issue Checklist

  • [x] I am not disclosing a vulnerability.
  • [x] I am not just asking a question.
  • [x] I have searched through existing issues.
  • [x] I can reproduce the issue with the latest version of Parse Server.

Issue Description

Revisiting selective logging for cloud functions with base64 output (referencing #3918)

I'm bringing up the previously old closed issue #3918. Still seems relevant and still hasn't a fully solution.

Summary of Issue #3918:

  • Requested a way to disable logging for specific cloud functions to prevent large base64 strings from bloating log files.
  • Setting logLevel to warn solves the base64 logging issue but also suppresses valuable I/O information from other functions.

Current Situation:

  • Large base64 strings are logged for the specific cloud function, causing excessive log file sizes.
  • Setting logLevel to warn prevents base64 logging but also suppresses necessary logging from other functions.

Thank you for considering this request!

FValent3 avatar Feb 01 '24 19:02 FValent3

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

parse-github-assistant avatar Feb 01 '24 19:02 parse-github-assistant