parameters: ()
docstring: Log the server version and some configuration values.
  
      This function assumes the configuration has been initialized.
docstring_summary: Log the server version and some configuration values.
docstring_tokens: Log the server version and some configuration values .
function: def report_configuration():
      """ Log the server version and some configuration values.
  
      This function assumes the configuration has been initialized.
      """
      config = odoo.tools.config
      _logger.info("Odoo version %s", __version__)
      if os.path.isfile(config.rcfile):
          _logger.info("Using configuration file at " + config.rcfile)
      _logger.info('addons paths: %s', odoo.addons.__path__)
      if config.get('upgrade_path'):
          _logger.info('upgrade path: %s', config['upgrade_path'])
      host = config['db_host'] or os.environ.get('PGHOST', 'default')
      port = config['db_port'] or os.environ.get('PGPORT', 'default')
      user = config['db_user'] or os.environ.get('PGUSER', 'default')
      _logger.info('database: %s@%s:%s', user, host, port)
function_tokens: def report_configuration ( ) : config = odoo . tools . config _logger . info ( "Odoo version %s" , __version__ ) if os . path . isfile ( config . rcfile ) : _logger . info ( "Using configuration file at " + config . rcfile ) _logger . info ( 'addons paths: %s' , odoo . addons . __path__ ) if config . get ( 'upgrade_path' ) : _logger . info ( 'upgrade path: %s' , config [ 'upgrade_path' ] ) host = config [ 'db_host' ] or os . environ . get ( 'PGHOST' , 'default' ) port = config [ 'db_port' ] or os . environ . get ( 'PGPORT' , 'default' ) user = config [ 'db_user' ] or os . environ . get ( 'PGUSER' , 'default' ) _logger . info ( 'database: %s@%s:%s' , user , host , port )