Merge "Explicitly set datefmt for logging"

This commit is contained in:
Zuul 2019-02-27 01:31:09 +00:00 committed by Gerrit Code Review
commit 66ba0be81c
13 changed files with 36 additions and 0 deletions

View File

@ -507,8 +507,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
# Names of secrets used by bootstrap and environmental checks # Names of secrets used by bootstrap and environmental checks
secrets: secrets:

View File

@ -814,8 +814,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
rabbitmq: rabbitmq:
#NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones #NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones
policies: policies:

View File

@ -426,8 +426,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
paste: paste:
composite:congress: composite:congress:
use: egg:Paste#urlmap use: egg:Paste#urlmap

View File

@ -346,8 +346,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
paste_registry: paste_registry:
pipeline:glance-registry: pipeline:glance-registry:
pipeline: healthcheck osprofiler unauthenticated-context registryapp pipeline: healthcheck osprofiler unauthenticated-context registryapp

View File

@ -517,8 +517,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
rabbitmq: rabbitmq:
#NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones #NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones

View File

@ -194,8 +194,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
network: network:
pxe: pxe:

View File

@ -967,8 +967,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
# Names of secrets used by bootstrap and environmental checks # Names of secrets used by bootstrap and environmental checks
secrets: secrets:

View File

@ -191,8 +191,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
network: network:
api: api:

View File

@ -522,8 +522,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
pod: pod:
user: user:

View File

@ -1538,8 +1538,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
plugins: plugins:
ml2_conf: ml2_conf:
ml2: ml2:

View File

@ -1568,8 +1568,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
rabbitmq: rabbitmq:
#NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones #NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones
policies: policies:

View File

@ -236,8 +236,10 @@ conf:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
network: network:
api: api:

View File

@ -338,8 +338,10 @@ data:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
endpoints: endpoints:
fluentd: fluentd:
namespace: osh-infra namespace: osh-infra
@ -540,8 +542,10 @@ data:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
endpoints: endpoints:
fluentd: fluentd:
namespace: osh-infra namespace: osh-infra
@ -732,8 +736,10 @@ data:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
cinder: cinder:
DEFAULT: DEFAULT:
backup_driver: cinder.backup.drivers.swift backup_driver: cinder.backup.drivers.swift
@ -1018,8 +1024,10 @@ data:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
nova: nova:
neutron: neutron:
metadata_proxy_shared_secret: ${METADATA_PROXY_SHARED_SECRET} metadata_proxy_shared_secret: ${METADATA_PROXY_SHARED_SECRET}
@ -1200,8 +1208,10 @@ data:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
neutron: neutron:
DEFAULT: DEFAULT:
l3_ha: True l3_ha: True
@ -1317,8 +1327,10 @@ data:
formatter: context formatter: context
formatter_context: formatter_context:
class: oslo_log.formatters.ContextFormatter class: oslo_log.formatters.ContextFormatter
datefmt: "%Y-%m-%d %H:%M:%S"
formatter_default: formatter_default:
format: "%(message)s" format: "%(message)s"
datefmt: "%Y-%m-%d %H:%M:%S"
endpoints: endpoints:
fluentd: fluentd:
namespace: osh-infra namespace: osh-infra