-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add log messages for BackEndApp/v1 #337
Comments
I want to take up this issue but have some questions! |
Do we have to create a separate logging file in Backend/v1/ which checks for all files simultaneously or implement the predefined library code by importing and checking in individual files? |
So we already have the configured logger here. All you have to do is import the logging library and add info, error, warn, etc.. logs wherever needed in the scripts residing in BackEndApp/v1. You can use the following as reference import logging
logger = logging.get_logger(__name__)
# add the following wherever necessary
logger.debug("DEBUG MESSAGE")
logger.info("INFO MESSAGE")
logger.warn("WARNING MESSAGE")
logger.error("ERROR MESSAGE") |
I would also like to take up this issue. Can multiple users send their PR? Can I be assigned for it? |
@Aniket-508 @codewith-arijit any one willing to take up this issue? (You would be assigned to it) |
@McTechie I have created the PR. Please review and assign this. |
It would've been appreciated if you discussed here before creating the PR, but no worries we'll have a look at it. |
Feature Request
Is your feature request related to an existing Issue or a new implementation?
No
Feature Description
Use the configured logger library to add comprehensive and easy to understand log messages in BackendApp/v1/
Possible Solution
The text was updated successfully, but these errors were encountered: