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

Fix logging #156

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Fix logging #156

merged 2 commits into from
Oct 1, 2024

Conversation

eshelB
Copy link
Contributor

@eshelB eshelB commented Sep 30, 2024

fixed fheos logging. (which included contract logs but not only, it included all debugs!)
The problem was that when wrapping the handler with NewGlogHandler (are we using glog's functionality even?), there was a reset of the loglevel, for some reason, so I had to set it again with Verbosity.

Notes: there is also an function init() in fheos which initialized a logger which is not really used I believe, because later we do initFheos and we override this logger. Maybe we can remove the init function.

@eshelB eshelB merged commit e45fea1 into master Oct 1, 2024
4 checks passed
@eshelB eshelB deleted the fix-logging branch October 1, 2024 15:12
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