
Translation stats are retrieved from Zanata service. List of projects and versions is taken from Zanata API. List of users is configured in openstack/i18n repo and referred by URI. Processor reads stats for every project-version-user-week and yields records of new type 'tr'. UI is extended to show breakdown by languages. Zanata module is based on https://review.openstack.org/#/c/275145/ Co-Authored-By: daisy-ycguo <guoyingc@cn.ibm.com> Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Ic1b44f09f7eb592d75d435f66a71d3110a2f49a5
180 lines
7.1 KiB
Plaintext
180 lines
7.1 KiB
Plaintext
[DEFAULT]
|
|
|
|
#
|
|
# From oslo_log
|
|
#
|
|
|
|
# If set to true, the logging level will be set to DEBUG instead of the default
|
|
# INFO level. (boolean value)
|
|
#debug = false
|
|
|
|
# If set to false, the logging level will be set to WARNING instead of the
|
|
# default INFO level. (boolean value)
|
|
# This option is deprecated for removal.
|
|
# Its value may be silently ignored in the future.
|
|
#verbose = true
|
|
|
|
# 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). (string value)
|
|
# Deprecated group/name - [DEFAULT]/log_config
|
|
#log_config_append = <None>
|
|
|
|
# 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. (string value)
|
|
#log_format = <None>
|
|
|
|
# Defines the format string for %%(asctime)s in log records. Default:
|
|
# %(default)s . This option is ignored if log_config_append is set. (string
|
|
# value)
|
|
#log_date_format = %Y-%m-%d %H:%M:%S
|
|
|
|
# (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. (string value)
|
|
# Deprecated group/name - [DEFAULT]/logfile
|
|
#log_file = <None>
|
|
|
|
# (Optional) The base directory used for relative log_file paths. This option
|
|
# is ignored if log_config_append is set. (string value)
|
|
# Deprecated group/name - [DEFAULT]/logdir
|
|
#log_dir = <None>
|
|
|
|
# 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.
|
|
# (boolean value)
|
|
#watch_log_file = false
|
|
|
|
# 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. (boolean value)
|
|
#use_syslog = false
|
|
|
|
# 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. (boolean value)
|
|
# This option is deprecated for removal.
|
|
# Its value may be silently ignored in the future.
|
|
# Reason: The format without the APP-NAME is deprecated in Kilo, and will be
|
|
# removed in Mitaka, along with this option.
|
|
#use_syslog_rfc_format = true
|
|
|
|
# Syslog facility to receive log lines. This option is ignored if
|
|
# log_config_append is set. (string value)
|
|
#syslog_log_facility = LOG_USER
|
|
|
|
# Log output to standard error. This option is ignored if log_config_append is
|
|
# set. (boolean value)
|
|
#use_stderr = true
|
|
|
|
# Format string to use for log messages with context. (string value)
|
|
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
|
|
|
|
# Format string to use for log messages when context is undefined. (string
|
|
# value)
|
|
#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
|
|
|
|
# Additional data to append to log message when logging level for the message
|
|
# is DEBUG. (string value)
|
|
#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
|
|
|
|
# Prefix each line of exception output with this format. (string value)
|
|
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
|
|
|
|
# Defines the format string for %(user_identity)s that is used in
|
|
# logging_context_format_string. (string value)
|
|
#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
|
|
|
|
# List of package logging levels in logger=LEVEL pairs. This option is ignored
|
|
# if log_config_append is set. (list value)
|
|
#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
|
|
|
|
# Enables or disables publication of error events. (boolean value)
|
|
#publish_errors = false
|
|
|
|
# The format for an instance that is passed with the log message. (string
|
|
# value)
|
|
#instance_format = "[instance: %(uuid)s] "
|
|
|
|
# The format for an instance UUID that is passed with the log message. (string
|
|
# value)
|
|
#instance_uuid_format = "[instance: %(uuid)s] "
|
|
|
|
# Enables or disables fatal status of deprecations. (boolean value)
|
|
#fatal_deprecations = false
|
|
|
|
#
|
|
# From stackalytics.processor.config
|
|
#
|
|
|
|
# Storage URI (string value)
|
|
#runtime_storage_uri = memcached://127.0.0.1:11211
|
|
|
|
# URI for default data (string value)
|
|
#default_data_uri = https://git.openstack.org/cgit/openstack/stackalytics/plain/etc/default_data.json
|
|
|
|
# The folder that holds all project sources to analyze (string value)
|
|
#sources_root = /var/local/stackalytics
|
|
|
|
# Number of days to update members (integer value)
|
|
#days_to_update_members = 30
|
|
|
|
# The address of file with corrections data (string value)
|
|
#corrections_uri = https://git.openstack.org/cgit/openstack/stackalytics/plain/etc/corrections.json
|
|
|
|
# URI of review system (string value)
|
|
#review_uri = gerrit://review.openstack.org
|
|
|
|
# git base location (string value)
|
|
#git_base_uri = git://git.openstack.org
|
|
|
|
# SSH key for gerrit review system access (string value)
|
|
#ssh_key_filename = /home/user/.ssh/id_rsa
|
|
|
|
# SSH username for gerrit review system access (string value)
|
|
#ssh_username = user
|
|
|
|
# URI for default data (string value)
|
|
#driverlog_data_uri = https://git.openstack.org/cgit/openstack/driverlog/plain/etc/default_data.json
|
|
|
|
# URI for translation team data (string value)
|
|
#translation_team_uri = https://git.openstack.org/cgit/openstack/i18n/plain/tools/zanata/translation_team.yaml
|
|
|
|
# How many member profiles to look ahead after the last (integer value)
|
|
#members_look_ahead = 250
|
|
|
|
# Number of seconds to wait for remote response (integer value)
|
|
#read_timeout = 120
|
|
|
|
# The address dashboard listens on (string value)
|
|
#listen_host = 127.0.0.1
|
|
|
|
# The port dashboard listens on (integer value)
|
|
#listen_port = 8080
|
|
|
|
# Default metric (string value)
|
|
#default_metric = marks
|
|
|
|
# Default release, the most recent if not set (string value)
|
|
#default_release = <None>
|
|
|
|
# Default project type (string value)
|
|
#default_project_type = openstack
|
|
|
|
# The interval specifies how frequently dashboard should check for updates in
|
|
# seconds (integer value)
|
|
#dashboard_update_interval = 3600
|
|
|
|
# Name of file to store python profiler data (string value)
|
|
#collect_profiler_stats = <None>
|
|
|
|
# Warn if the age of data is more than this value, sec (integer value)
|
|
#age_warn = 172800
|