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

Logging Configuration #63

Open
laeg opened this issue Nov 26, 2022 · 3 comments
Open

Logging Configuration #63

laeg opened this issue Nov 26, 2022 · 3 comments

Comments

@laeg
Copy link

laeg commented Nov 26, 2022

Is there a way to configure what is logged/stdout?

@FutureSharks
Copy link
Owner

No but PRs are welcome 🙂

@laeg
Copy link
Author

laeg commented Nov 28, 2022

Any suggestions for a place to start?

@FutureSharks
Copy link
Owner

Normally in python you create log messages at different levels and then allow the user to simply choose the level.

The main lambda function logger is here.

If you want to adjust logging in invokr.py, check here.

You could use a condition to adjust the level based on some settings.

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