import logging
import tqdm
import sys
from importlib import reload
reload(logging)
logging.basicConfig(format='%(asctime)s %(levelname)s:%(message)s', stream=sys.stdout, level=logging.DEBUG, datefmt='%I:%M:%S')
logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
response_synthesizer = get_response_synthesizer(
service_context=service_context,
response_mode='compact'
)
response = response_synthesizer.synthesize(
prompt,
nodes=retrieved_nodes
)
display_response(response)
Nothing gets printed to the logger. Could you please help me figure out the issue here?