Pass through loglevel to tractor

kivy_mainline_and_py3.8
Tyler Goodlet 2018-07-06 17:26:45 -04:00
parent 4427e2869c
commit 3efc7a4f77
1 changed files with 2 additions and 1 deletions

View File

@ -8,11 +8,11 @@ import os
import click import click
import pandas as pd import pandas as pd
import trio import trio
import tractor
from . import watchlists as wl from . import watchlists as wl
from .brokers import core, get_brokermod from .brokers import core, get_brokermod
from .log import get_console_log, colorize_json, get_logger from .log import get_console_log, colorize_json, get_logger
from . import tractor
log = get_logger('cli') log = get_logger('cli')
DEFAULT_BROKER = 'robinhood' DEFAULT_BROKER = 'robinhood'
@ -38,6 +38,7 @@ def pikerd(loglevel, host):
outlive_main=True, # run daemon forever outlive_main=True, # run daemon forever
rpc_module_paths=['piker.brokers.core'], rpc_module_paths=['piker.brokers.core'],
name='brokerd', name='brokerd',
loglevel=loglevel,
) )