You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be by design but it was not immediately obvious and drove me insane this morning. I was looking for the logging for an Actor in one of my Features but I was not getting any output. Turned out that a refactor recently had the side-effect of the Feature being instantiated before the LoggingMiddleware was added.
Is this a case that could be handled or if not, maybe it is worth calling attention to in the wiki.
The text was updated successfully, but these errors were encountered:
Hi @kyhule , sorry for long reply times :)
It is intended by design to have middleware added before the feature.
The general idea is to create them before anything else is instantiated, and then use WrappingCondition and different selectors to determine whether to add middleware or not.
This may be by design but it was not immediately obvious and drove me insane this morning. I was looking for the logging for an
Actor
in one of myFeature
s but I was not getting any output. Turned out that a refactor recently had the side-effect of theFeature
being instantiated before theLoggingMiddleware
was added.Is this a case that could be handled or if not, maybe it is worth calling attention to in the wiki.
The text was updated successfully, but these errors were encountered: