9718f428f5a4fcac5e4be9a208a18e9b98a6e418
Commit Graph

20 Commits

Author SHA1 Message Date
Takashi Kajinami
9718f428f5 Prepare for voxpupuli-puppet-lint-plugins
Fix new lint errors detected when full of the voxpupili lint plugins
are enabled.
Change-Id: I8ebe256188945780f730ab51fc07ee55d2ecd508
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025年08月19日 23:36:36 +09:00
Takashi Kajinami
036b11b917 Remove watch_log_file
The option was deprecated during the 2024.2 cycle[1]. Processes may
fail to start when it is set to True[2] so supporting it is no longer
useful.
[1] 31603ac6dacd0b47ec9f02d99bfdd0a7b683119c
[2] b977cb9becbeaaa67bb663bd8db5aa6846e495b9
Change-Id: I03d9e5b6090793d200d3c9c3f2682d7abf6143df
2025年04月17日 20:39:40 +09:00
Takashi Kajinami
004f278703 log: Correct deprecation warning for watch_log_file
This is follow-up of ec4f21b17c and fix
the deprecation warning message because the parameter still has
effect.
Change-Id: Ifecf36e2d8807933f44e6737a3a1c63ee1f830d0
2024年09月24日 13:14:45 +09:00
Takashi Kajinami
ec4f21b17c logging: Deprecate watch_log_file
This option was deprecated in oslo.log 6.0.0 [1].
[1] https://review.opendev.org/914788
Change-Id: I9aea6b99a2efee78fb561a6a36d796103d4c755e
2024年09月22日 02:40:43 +09:00
Takashi Kajinami
548d68cf35 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.
Change-Id: Ib0bdb6329a438ac44886ee0494d0c52ad344a1bf
2023年03月02日 12:37:35 +09:00
Takashi Kajinami
efd1146993 log: Accept array for default_log_levels
Currently the default_log_levels parameter accepts only hash or string.
This change adds support for an array value, so that users can use
an array of 'logger=LEVEL' strings.
Change-Id: I8c4358128438700430645df132882ec46a8885b9
2022年04月04日 13:55:01 +09:00
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