Skip to content

Replace print() calls in agents.py with structured logging (Fixes #75)#85

Open
pragati-0208 wants to merge 2 commits intoINCF:mainfrom
pragati-0208:fix-agents-logging
Open

Replace print() calls in agents.py with structured logging (Fixes #75)#85
pragati-0208 wants to merge 2 commits intoINCF:mainfrom
pragati-0208:fix-agents-logging

Conversation

@pragati-0208
Copy link

Summary

Replaced print() statements in agents.py with Python's logging module to provide structured and configurable logging.

Changes

  • Added logger initialization:
    logger = logging.getLogger("agents")

  • Replaced all print() calls with appropriate logging levels:

    • logger.info() for normal workflow messages
    • logger.error() for error conditions
    • logger.exception() for exception tracebacks

@pragati-0208
Copy link
Author

Hi! I have resolved the merge conflicts and updated the PR. Please let me know if any further changes are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants