parameters: (level=logging.INFO)
docstring: Initialize logging only to console and database.
docstring_summary: Initialize logging only to console and database.
docstring_tokens: Initialize logging only to console and database .
function: def init_console_logging(level=logging.INFO):
      """Initialize logging only to console and database."""
      logging.getLogger().setLevel(logging.DEBUG)
      init_logger("console", level)
      init_logger("database")
function_tokens: def init_console_logging ( level = logging . INFO ) : logging . getLogger ( ) . setLevel ( logging . DEBUG ) init_logger ( "console" , level ) init_logger ( "database" )