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 across the package #56

Closed
Gonmeso opened this issue Jun 5, 2024 · 2 comments
Closed

Improve logging across the package #56

Gonmeso opened this issue Jun 5, 2024 · 2 comments

Comments

@Gonmeso
Copy link
Contributor

Gonmeso commented Jun 5, 2024

We should add multiple debug logs to help the developers to debug users problems.

Some debug logs that could be added:

  • log requests and responses
  • log contract initialization
  • log ape actions
  • framework args serialization
  • input and output of osiris des/serialization

This should be done using the logging module and we should create a utility function that can easily be added to start the log level of the library like:

from giza.agents.utils import debug_logging

# This should make logging to show all the DEBUG and INFO logs
debug_logging()
@Bosun-Josh121
Copy link

can I work on this?

@Gonmeso
Copy link
Contributor Author

Gonmeso commented Jun 26, 2024

Fixed on #60

@Gonmeso Gonmeso closed this as completed Jun 26, 2024
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

No branches or pull requests

2 participants