Adjust some log levels
parent
063dfad5b4
commit
6a6f773477
|
@ -307,7 +307,7 @@ async def quoter(client: Client, tickers: [str]):
|
|||
new, current = set(tickers), set(t2ids.keys())
|
||||
if new != current:
|
||||
# update ticker ids cache
|
||||
log.info(f"Tickers set changed {new - current}")
|
||||
log.debug(f"Tickers set changed {new - current}")
|
||||
t2ids = await client.tickers2ids(tickers)
|
||||
ids = ','.join(map(str, t2ids.values()))
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ def watch(loglevel, broker, rate, name):
|
|||
try:
|
||||
trio.run(main)
|
||||
except OSError as oserr:
|
||||
log.error(oserr)
|
||||
log.warn(oserr)
|
||||
log.info("Spawning local broker-daemon...")
|
||||
child = Process(
|
||||
target=run,
|
||||
|
|
|
@ -394,6 +394,7 @@ async def _async_main(name, client, tickers, brokermod, rate):
|
|||
|
||||
async with trio.open_nursery() as nursery:
|
||||
# get first quotes response
|
||||
log.debug("Waiting on first quote...")
|
||||
quotes = await client.recv()
|
||||
first_quotes = [
|
||||
brokermod.format_quote(quote, symbol_data=sd)[0]
|
||||
|
|
Loading…
Reference in New Issue