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

[FEATURE] Application logs enhancement #244

Open
jdieguez89 opened this issue Jan 8, 2024 · 0 comments
Open

[FEATURE] Application logs enhancement #244

jdieguez89 opened this issue Jan 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jdieguez89
Copy link
Contributor

Is Your Feature Request Related to a Problem? Please Describe.
At present, only the backend sends logs to Elasticsearch. Other services output logs to the console, which complicates the process of detecting issues in the application index.

Describe the Solution You'd Like
I propose creating libraries dedicated to sending logs to the Elasticsearch index. This solution would involve establishing a format that clearly identifies the source of errors, enhancing application monitoring. Such an approach would not only facilitate quicker detection and replication of issues but also benefit our community and clients, who could utilize these logs for more efficient bug reporting.

Log index

  • Timestamp: The exact time when the log was recorded.
  • Log Level: Indicates the severity of the log.
  • Service: Identifies which microservice generated the log.
  • Host: The server where the issue occurred.
  • Environment: Distinguishes between different deployment stages.
  • Operation: The specific operation being executed.
  • Message: A descriptive message about the log event.
  • Error Code: A specific code for categorizing the error.
  • Stack Trace: Detailed error information for debugging.
  • Additional Data: Any other relevant information, structured as needed.
@jdieguez89 jdieguez89 added the enhancement New feature or request label Jan 8, 2024
@jdieguez89 jdieguez89 added this to the 10.4 milestone Jan 8, 2024
@osmontero osmontero removed this from the 10.4 milestone Jan 9, 2024
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
Status: 🔖 Ready
Development

No branches or pull requests

6 participants