From 3efc7a4f77ff97d393a4e2102c84ce5fedb36761 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 6 Jul 2018 17:26:45 -0400 Subject: [PATCH] Pass through loglevel to tractor --- piker/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/piker/cli.py b/piker/cli.py index a703970a..401862ea 100644 --- a/piker/cli.py +++ b/piker/cli.py @@ -8,11 +8,11 @@ import os import click import pandas as pd import trio +import tractor from . import watchlists as wl from .brokers import core, get_brokermod from .log import get_console_log, colorize_json, get_logger -from . import tractor log = get_logger('cli') DEFAULT_BROKER = 'robinhood' @@ -38,6 +38,7 @@ def pikerd(loglevel, host): outlive_main=True, # run daemon forever rpc_module_paths=['piker.brokers.core'], name='brokerd', + loglevel=loglevel, )