081afba5e0ab0c7b6dbf48fb10c4b636e9b5e5fc
Commit Graph

14 Commits

Author SHA1 Message Date
Tobias Urdin
39bd0df71e Use validate_legacy
This changes all the puppet 3 validate_* functions
to use the validate_legacy function.
The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.
This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].
[1] https://review.openstack.org/#/c/568929/
Change-Id: I041af9f00d9463e35a53d1979cf03697cdf41376
2019年02月23日 22:32:56 +01:00
zhongshengping
3d818422ff Revert "Update olso.log parameters"
The log result is [1] when the option is log-file.
The log result is [2] when the option is log_file.
[1]http://logs.openstack.org/45/444345/6/check/puppet-openstack-integration-4-scenario003-tempest-centos-7/ed001dd/logs/trove/
[2]http://logs.openstack.org/37/534537/1/check/puppet-openstack-integration-4-scenario003-tempest-centos-7/8fbeae3/logs/trove/
This reverts commit 2c50339a0b.
Change-Id: Ib63ea1783c2f85223b703166013cb817c799fc5a
2018年01月17日 05:47:27 +00:00
Mykyta Karpin
2c50339a0b Update olso.log parameters
Update oslo.log parameters so we don't have warnings in syslog.
Co-Authored-By: Mykyta Karpin <mkarpin@mirantis.com>
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
Change-Id: Ifddb5f6eb964e51e01430a3e915495dd20d0a641
2017年12月18日 15:32:26 -07:00
Juan Antonio Osorio Robles
439fbdb76a Expose use_json logging option
It enables JSON-formatted logging from oslo.log.
Change-Id: If00976cbea705fb67be3abb12aa70d4a41ea83c3
2017年11月24日 16:01:10 +02:00
Juan Antonio Osorio Robles
f32c680d5e Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.
Change-Id: I2f2977d88607939c278815cc449a129e8c04379d
2017年09月29日 14:43:13 +03:00
Alex Schultz
70816f417a Ensure debug is a boolean
Use any2bool when the debug value for logging is not the class defaults
to ensure that we pass a true boolean to the configuration file.
Change-Id: Ica3cbb2ca6b1168a49448ace1a38c96d95cdcd88
Closes-Bug: #1719929 
2017年09月27日 22:00:13 +00:00
Jenkins
e16f623dcd Merge "Remove verbose" 2016年10月24日 20:33:56 +00:00
Mykyta Karpin
1ddc04fc55 Fix documentation for log_dir parameter
Change-Id: I4e9e5b5526aff37f8912bc96ec537f8d2c9ee519
Partial-Bug: #1600294 
2016年10月10日 15:06:07 +03:00
Iury Gregory Melo Ferreira
a73e75bf92 Remove verbose
Since we are in Ocata we should remove the
verbose option that was deprecated
Change-Id: Ibbc604ac80ddb0e9ca15da3a32abd5cb21eb5b9b
2016年09月27日 20:00:09 -03:00
Emilien Macchi
b3d13ee3e3 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
If this option is not set explicitly, there is no such warning.
Change-Id: Ic05e3744046be622314f7f16c839d2323818b353
2016年05月15日 23:25:08 +02:00
Denis Egorenko
b79dda880a Totally drop Qpid support
Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.
Change-Id: I4c97e3dbf99465202870f9a6bbaa2daa415da6bf
2016年04月19日 17:31:00 +03:00
iberezovskiy
8ae52af64a Improvements for oslo::log define
* Deprecated options 'use_syslog_rfc_format' and
 'log_format' were removed. It can be done because
 this module wasn't released;
* Call of create_resources was reworked (one common call was left
 with hash of parameters);
* Create unit tests for this define.
Change-Id: Idfd98545e3a1341cf0fd46f7ddad65c11069ff68
2016年03月30日 18:16:16 +03:00
Liao Penghui
c9324e1853 Add some logging related parameters.
Add some logging related parameters. And change the parameter
specification to be consistent with the paramter list.
2016年01月22日 18:31:35 +08:00
Liao Penghui
1e441e4fcd Add define oslo::log
This patch aims to add a new define to manage parameters of
logging facility in the [DEFAULT] section which belongs to oslo.log.
2016年01月22日 16:58:51 +08:00