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
I have a custom log handler created and would like to push logs to this handler as well.
I am calling following function in all the bolts initialize -
def set_from_conf(component, stormconf):
global log
log = component.log
for key, value in stormconf.items():
if key.startswith('project.'):
const = key.split(".")[1].upper()
if const not in globals():
raise ValueError("Unknown setting '{}' in config.json".format(key))
globals()[const] = value
I have a custom log handler created and would like to push logs to this handler as well.
I am calling following function in all the bolts initialize -
Can I do something like -
Or just
The text was updated successfully, but these errors were encountered: