def main(config):
    # TODO: move logging to BotManager, make configurable
    logger = logging.basicConfig(level=logging.DEBUG,
                                 format='%(asctime)-21s %(levelname)s %(name)s (%(funcName)-s) %(process)d:%(thread)d - %(message)s',
                                 filename='lol.log')

    observer = log.PythonLoggingObserver()
    observer.start()

    bot_manager = BotManager(config)
    bot_manager.start()
Initialize a new WINCH handler for the given PTY.
dataset/ETHPy150Open Netflix/brutal/brutal/run.py/main--crossover with--dataset/ETHPy150Open d11wtq/dockerpty/dockerpty/pty.py/WINCHHandler.__init__