Update robot.py with log manager.