Pass through loglevel to tractor
parent
4427e2869c
commit
3efc7a4f77
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue