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

Improve logging/error handling for Java/.NET services #20

Open
8 tasks
ammerzon opened this issue Jan 5, 2023 · 0 comments
Open
8 tasks

Improve logging/error handling for Java/.NET services #20

ammerzon opened this issue Jan 5, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ammerzon
Copy link
Contributor

ammerzon commented Jan 5, 2023

Is your feature request related to a problem? Please describe.

  • Most of the logging doesn't print any timestamps or affected line numbers.
  • Frontend logging is too verbose in error cases

Definition of Done

  • A proper logging framework for all services is used
  • The logs are consistent across services and contain timestamps and class/code location if possible
  • The console is not spammed when errors are thrown

Tasks

  • Try out unguard under normal load and observe logs (to spot spam/bad logs)
  • Adjust logs of the microblog-service
    • Java, SL4J
  • Adjust logs of proxy-service
    • Java, Log4J (don't change that)
  • Adjust logs to ad-service
    • .NET, add a framework. If not included, look up best practices
  • Ensure quality and functionality
    • Manual tryout, tests, warnings, code-style

Additional context

  • The frontend tends to spam unreadable loglines when other services crash/are not available
  • Stick to logging format already present in e.g microblog-service
@ammerzon ammerzon added the enhancement New feature or request label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant