 7cdf1408f0
			
		
	
	7cdf1408f0
	
	
	
		
			
			A new config parameter 'gerrit-retry' is introduced with default value 10. Change-Id: I2b7fcd704873cacd147026e9f3bb38e9752cb435
		
			
				
	
	
		
			122 lines
		
	
	
		
			7.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			122 lines
		
	
	
		
			7.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| usage: stackalytics-processor [-h] [--config-dir DIR] [--config-file PATH]
 | |
|                               [--corrections-uri CORRECTIONS_URI]
 | |
|                               [--days_to_update_members DAYS_TO_UPDATE_MEMBERS]
 | |
|                               [--debug] [--default-data-uri DEFAULT_DATA_URI]
 | |
|                               [--driverlog-data-uri DRIVERLOG_DATA_URI]
 | |
|                               [--gerrit-retry GERRIT_RETRY]
 | |
|                               [--git-base-uri GIT_BASE_URI]
 | |
|                               [--log-config-append PATH]
 | |
|                               [--log-date-format DATE_FORMAT]
 | |
|                               [--log-dir LOG_DIR] [--log-file PATH]
 | |
|                               [--log-format FORMAT]
 | |
|                               [--members-look-ahead MEMBERS_LOOK_AHEAD]
 | |
|                               [--nodebug] [--nouse-syslog]
 | |
|                               [--nouse-syslog-rfc-format] [--noverbose]
 | |
|                               [--nowatch-log-file]
 | |
|                               [--read-timeout READ_TIMEOUT]
 | |
|                               [--review-uri REVIEW_URI]
 | |
|                               [--runtime-storage-uri RUNTIME_STORAGE_URI]
 | |
|                               [--sources-root SOURCES_ROOT]
 | |
|                               [--ssh-key-filename SSH_KEY_FILENAME]
 | |
|                               [--ssh-username SSH_USERNAME]
 | |
|                               [--syslog-log-facility SYSLOG_LOG_FACILITY]
 | |
|                               [--translation-team-uri TRANSLATION_TEAM_URI]
 | |
|                               [--use-syslog] [--use-syslog-rfc-format]
 | |
|                               [--verbose] [--version] [--watch-log-file]
 | |
| 
 | |
| optional arguments:
 | |
|   -h, --help            show this help message and exit
 | |
|   --config-dir DIR      Path to a config directory to pull *.conf files from.
 | |
|                         This file set is sorted, so as to provide a
 | |
|                         predictable parse order if individual options are
 | |
|                         over-ridden. The set is parsed after the file(s)
 | |
|                         specified via previous --config-file, arguments hence
 | |
|                         over-ridden options in the directory take precedence.
 | |
|   --config-file PATH    Path to a config file to use. Multiple config files
 | |
|                         can be specified, with values in later files taking
 | |
|                         precedence. Defaults to None.
 | |
|   --corrections-uri CORRECTIONS_URI
 | |
|                         The address of file with corrections data
 | |
|   --days_to_update_members DAYS_TO_UPDATE_MEMBERS
 | |
|                         Number of days to update members
 | |
|   --debug, -d           If set to true, the logging level will be set to DEBUG
 | |
|                         instead of the default INFO level.
 | |
|   --default-data-uri DEFAULT_DATA_URI
 | |
|                         URI for default data
 | |
|   --driverlog-data-uri DRIVERLOG_DATA_URI
 | |
|                         URI for default data
 | |
|   --gerrit-retry GERRIT_RETRY
 | |
|                         How many times to retry after Gerrit errors
 | |
|   --git-base-uri GIT_BASE_URI
 | |
|                         git base location
 | |
|   --log-config-append PATH, --log_config PATH
 | |
|                         The name of a logging configuration file. This file is
 | |
|                         appended to any existing logging configuration files.
 | |
|                         For details about logging configuration files, see the
 | |
|                         Python logging module documentation. Note that when
 | |
|                         logging configuration files are used all logging
 | |
|                         configuration is defined in the configuration file and
 | |
|                         other logging configuration options are ignored (for
 | |
|                         example, log_format).
 | |
|   --log-date-format DATE_FORMAT
 | |
|                         Defines the format string for %(asctime)s in log
 | |
|                         records. Default: None . This option is ignored if
 | |
|                         log_config_append is set.
 | |
|   --log-dir LOG_DIR, --logdir LOG_DIR
 | |
|                         (Optional) The base directory used for relative
 | |
|                         log_file paths. This option is ignored if
 | |
|                         log_config_append is set.
 | |
|   --log-file PATH, --logfile PATH
 | |
|                         (Optional) Name of log file to send logging output to.
 | |
|                         If no default is set, logging will go to stderr as
 | |
|                         defined by use_stderr. This option is ignored if
 | |
|                         log_config_append is set.
 | |
|   --log-format FORMAT   DEPRECATED. A logging.Formatter log message format
 | |
|                         string which may use any of the available
 | |
|                         logging.LogRecord attributes. This option is
 | |
|                         deprecated. Please use logging_context_format_string
 | |
|                         and logging_default_format_string instead. This option
 | |
|                         is ignored if log_config_append is set.
 | |
|   --members-look-ahead MEMBERS_LOOK_AHEAD
 | |
|                         How many member profiles to look ahead after the last
 | |
|   --nodebug             The inverse of --debug
 | |
|   --nouse-syslog        The inverse of --use-syslog
 | |
|   --nouse-syslog-rfc-format
 | |
|                         The inverse of --use-syslog-rfc-format
 | |
|   --noverbose           The inverse of --verbose
 | |
|   --nowatch-log-file    The inverse of --watch-log-file
 | |
|   --read-timeout READ_TIMEOUT
 | |
|                         Number of seconds to wait for remote response
 | |
|   --review-uri REVIEW_URI
 | |
|                         URI of review system
 | |
|   --runtime-storage-uri RUNTIME_STORAGE_URI
 | |
|                         Storage URI
 | |
|   --sources-root SOURCES_ROOT
 | |
|                         The folder that holds all project sources to analyze
 | |
|   --ssh-key-filename SSH_KEY_FILENAME
 | |
|                         SSH key for gerrit review system access
 | |
|   --ssh-username SSH_USERNAME
 | |
|                         SSH username for gerrit review system access
 | |
|   --syslog-log-facility SYSLOG_LOG_FACILITY
 | |
|                         Syslog facility to receive log lines. This option is
 | |
|                         ignored if log_config_append is set.
 | |
|   --translation-team-uri TRANSLATION_TEAM_URI
 | |
|                         URI of translation team data
 | |
|   --use-syslog          Use syslog for logging. Existing syslog format is
 | |
|                         DEPRECATED and will be changed later to honor RFC5424.
 | |
|                         This option is ignored if log_config_append is set.
 | |
|   --use-syslog-rfc-format
 | |
|                         Enables or disables syslog rfc5424 format for logging.
 | |
|                         If enabled, prefixes the MSG part of the syslog
 | |
|                         message with APP-NAME (RFC5424). This option is
 | |
|                         ignored if log_config_append is set.
 | |
|   --verbose, -v         If set to false, the logging level will be set to
 | |
|                         WARNING instead of the default INFO level.
 | |
|   --version             show program's version number and exit
 | |
|   --watch-log-file      Uses logging handler designed to watch file system.
 | |
|                         When log file is moved or removed this handler will
 | |
|                         open a new log file with specified path
 | |
|                         instantaneously. It makes sense only if log_file
 | |
|                         option is specified and Linux platform is used. This
 | |
|                         option is ignored if log_config_append is set.
 |