-
Notifications
You must be signed in to change notification settings - Fork 73
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
Gelf logging should use its own io_context #650
Comments
A couple other things to consider while touching this code: gelf_appender is using some fc wrappers over asio stuff (and the wrappers are fairly old style, such as usage of the deprecated io_service instead of io_context). This is generally something we're trying to move away from: just use boost directly. Consider refactoring accordingly and removing the wrappers.
|
Probably more gain from moving the |
huh, yes that's really good point and almost certainly what ought to be attempted if this code is being touched. |
resolved in #758 |
Currently
gelf_appender
uses the mainapplication
io_context
. This bypasses the application's priority queue and affectively means that gelf logging runs at the highest priority. This is clearly not what is intended. Gelf logging should be modified to use its own thread and its ownio_context
.In my mind this should not wait for a new logging framework: eosnetworkfoundation/mandel#152
The text was updated successfully, but these errors were encountered: