message: refactor(robot-server): Log SQLAlchemy usage
diff: @@ -54,6 +54,16 @@ def _robot_log_config(log_level: int) -> Dict[str, Any]:
  "level": log_level,
  "propagate": False,
  },
  + "sqlalchemy": {
  + "handlers": ["robot_server"],
  + # SQLAlchemy's logging is slightly unusual:
  + # they set up their logger with a default level of WARN by itself,
  + # so even if we enabled propagation, we'd have to override the level
  + # to see things below WARN.
  + # docs.sqlalchemy.org/en/14/core/engines.html#configuring-logging
  + "level": log_level,
  + "propagate": False,
  + },
  },
  }
  @@ -86,5 +96,15 @@ def _dev_log_config(log_level: int) -> Dict[str, Any]:
  "level": log_level,
  "propagate": False,
  },
  + "sqlalchemy": {
  + "handlers": ["robot_server"],
  + # SQLAlchemy's logging is slightly unusual:
  + # they set up their logger with a default level of WARN by itself,
  + # so even if we enabled propagation, we'd have to override the level
  + # to see things below WARN.
  + # docs.sqlalchemy.org/en/14/core/engines.html#configuring-logging
  + "level": log_level,
  + "propagate": False,
  + },
  },
  }
  