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]: Add structured logs to mlinfra cli #97

Open
aliabbasjaffri opened this issue Sep 30, 2024 · 4 comments
Open

[Feature]: Add structured logs to mlinfra cli #97

aliabbasjaffri opened this issue Sep 30, 2024 · 4 comments
Assignees
Labels
good first issue Good for newcomers hacktoberfest Issues with this label are dedicated for the Hacktoberfest time.

Comments

@aliabbasjaffri
Copy link
Collaborator

aliabbasjaffri commented Sep 30, 2024

Describe the Feature

Struclog library allows structured logging to be emitted from the cli application. This providers a better handling and better interface for handling all the logs.

Importance of the Feature

As per sematext,

Structured logging is the practice of logging application and server errors or access events in a well-structured and consistent format that can be easily read, searched, and analyzed by any application or an interested individual. The most common structured logging format is JSON since it is the standard message format for every message parsing between systems and within applications.

Additional context

No response

Feature Category

mlinfra cli

@aliabbasjaffri aliabbasjaffri added good first issue Good for newcomers hacktoberfest Issues with this label are dedicated for the Hacktoberfest time. labels Sep 30, 2024
@Spiritedswordsman
Copy link

Heyy, Im interested to contribute for this issue, can you please assign me this?

@aliabbasjaffri
Copy link
Collaborator Author

Hello! I've assigned the issue to you @Spiritedswordsman , all the best :)

@Spiritedswordsman
Copy link

Heyy @aliabbasjaffri , Im sorry I haven't worked on this task yet cause of exams, I've understood how to implement this, but can I get some idea which file(s) I am supposed to make changes just to confirm?

@aliabbasjaffri
Copy link
Collaborator Author

You can look through the repo and find the instances of Exception. You can add structlogs there to emit information with more context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest Issues with this label are dedicated for the Hacktoberfest time.
Projects
None yet
Development

No branches or pull requests

2 participants