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
running into issues with the logging subsystem, and wanted to see what may be going on / what options one may have:
as background, one of my library dependencies is logging something that cannot be serialized (getting a pickle error), causing an exception in the logging stack and breaking my system. I am using the multiprocTCPBase system (on Linux) and setting ActorSystem::logDefs per the documentation. to avoid this, I can set ActorSystem::logDefs to None, but then getting no logs at all which is also sad
Is there a way to ask the actor system to not meddle with the logging system at all? looking at the code in multiprocCommon I could not see one
The text was updated successfully, but these errors were encountered:
one thing that could help is to be able to filter out specific loggers. in this case, the issue comes from the websocket library that has this logger setup:
if logger is None:
logger = logging.getLogger("websockets.protocol")
self.logger: LoggerLike = logging.LoggerAdapter(logger, {"websocket": self})
having self containing attributes that cannot be serialized. this is all out of my control as it is a transitive dependency,
if it is possible to filter these log events from the actor system forwarding via config (leg level, filters etc) that could help solve such problems
running into issues with the logging subsystem, and wanted to see what may be going on / what options one may have:
as background, one of my library dependencies is logging something that cannot be serialized (getting a pickle error), causing an exception in the logging stack and breaking my system. I am using the
multiprocTCPBase
system (on Linux) and settingActorSystem::logDefs
per the documentation. to avoid this, I can setActorSystem::logDefs
toNone
, but then getting no logs at all which is also sadIs there a way to ask the actor system to not meddle with the logging system at all? looking at the code in
multiprocCommon
I could not see oneThe text was updated successfully, but these errors were encountered: