-
Notifications
You must be signed in to change notification settings - Fork 95
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
Consider adjusting default log level to improve developer experience #851
Comments
I'm interested in issue. can I give it a shot? |
@gwbaik9717 |
Hi, I'm about to make a commit which lowers verbosity by adjusting default However, I'm not really sure that my commit will fix the second issue which is "Additionally, error messages produced periodically by WatchDocument may be difficult for front-end developers to differentiate between intentional errors and actual issues." In fact, I couldn't find where the error log periodically logs in my examples in Yorkie-JS-SDK so far... Is there any way to reproduce the situation? |
@gwbaik9717 WatchDocument's periodic error log can be checked only when yorkie server is in cluster mode. Since our hosted server is in cluster mode, all the applications using our API will get the error. So you need to change the url to our Yorkie SaaS API, which is Edit: We are working on fixing this issue in our cluster mode. |
Thanks for the comment! I was able to reproduce the issue. I have one more question. I've tried to adjust default log to higher level (such as Apparently, that is because WatchDocument is not using custom Therefore, I do not get the relationship between the logging configuration and the WatchDocument logs. |
I think we can skip WatchDocument error log for now. |
@devleejb @chacha912 Could you check above description? |
Hi @gwbaik9717 🙌
|
I think it is incorrect and confusing. |
Description:
Currently, various events such as PushPull are being logged, which may not be necessary for developers using the
yorkie-js-sdk
. Additionally, error messages produced periodically by WatchDocument may be difficult for front-end developers to differentiate between intentional errors and actual issues.Why:
yorkie-js-sdk
may not be concerned with events like PushPull.The text was updated successfully, but these errors were encountered: