Commit Graph

15 Commits

Author SHA1 Message Date
ZhongShengping a1ae65f323 Add watch_log_file option
Add support for Using logging handler designed to watch file system.

Change-Id: I2feecb96c4b859584ead37155269cb33d742e9d2
Closes-Bug: #1943212
2021-09-14 16:02:09 +08:00
ZhongShengping 778db279f1 Add log_file parameter
Change-Id: I6f8aead40646e54c8cca4a43a10ee0a9dcda09d2
Closes-Bug: #1819417
2019-03-12 13:25:42 +08:00
ZhongShengping 2c9b26482a Fix lint issue
Change-Id: I3195abab6e4253367d8badf1e008778168b55257
2019-01-25 12:23:44 +08:00
ZhongShengping befa77c079 Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: Iff58d247fe90fa8d81769599d7ce994077c032d9
2018-01-15 15:50:08 +08:00
Juan Antonio Osorio Robles 50d7c113f8 Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: I57eaa1209e6942a9e76e7988761fea854c838dc5
2017-11-27 14:54:23 +02:00
Mykyta Karpin 6334ee72cb oslo log: check puppet resource instead of actual config in spec
Change-Id: I2a64c715e652954727cd8c1cb83e4a99f300d890
2017-03-13 19:12:18 +02:00
Mykyta Karpin 7359b5129e Switch heat to rspec-puppet-facts
This change updates the heat tests to use rspec-puppet-facts
to test multiple operating systems.

Change-Id: Ic6e1542d5befba529f753b346ff842ed88d1292e
2016-11-11 13:11:39 +02:00
Iury Gregory Melo Ferreira dcc6dc20fd Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in README
-Remove verbose from tests.

If this option is not set explicitly, there is no such warning

Change-Id: I0a3a42341e4dd32196beb793d718edf85850394f
2016-05-18 01:49:23 -03:00
Denis Egorenko 6099d5c097 Totally drop Qpid support
Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.

Change-Id: I5702e42ec50e3ea4612434f9d3c836d0b0356c29
2016-04-18 14:05:14 +03:00
Mykyta Karpin ae20443751 Switch Heat to $::os_service_default - part 1
Switching Heat to usage of os_service_default fact

Change-Id: Iff9cda880bb938b1fff3bf217c7cbf233daaf68a
Related-bug: #1515273
2015-11-26 18:21:56 +02:00
Mykyta Karpin d57948dcfe Add os_service_default support to heat tests
Heat classes tests are modified to support
	os_service_default facts.

Change-Id: Ie8201de4158f1442eade93fee042453f4effb34c
2015-11-18 13:57:58 +02:00
Yanis Guenane 9ad6f36ea4 Put all the logging related parameters to the logging class
Currently logging configuration is splitted in two distinct classes, the
init.pp and the logging.pp classes. This review aims to centralize all
logging related parameters in a single class, the logging.pp one.

The impacted parameters are :

  * use_syslog
  * use_stderr
  * log_facility
  * verbose
  * debug
  * log_dir

This change remains backward compatible with what is currently in place

Change-Id: Ia040f7c935941da0b747cf3e8b5eda1abf2ae07a
2015-10-01 10:11:47 +02:00
Gael Chamoulaud 89ca576fa6 Fix tabs included in d7e9fe0e
Change-Id: Ia537d3749ee4e8c18990fdb32cf648af7e4f5286
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-03-11 18:49:32 +01:00
Sebastien Badia d7e9fe0e7a spec: updates for rspec-puppet 2.x and rspec 3.x
This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax
in order to be prepared for rspec 3.x move.

In details:
  * Use shared_examples "a Puppet::Error" for puppet::error tests
  * Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
  * Fix spec tests for rspec-puppet 2.0.0
  * Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
  * Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper)
  * Remove un-used puppet-lint (name_containing_dash config)

Change-Id: I1b82e4f6ec0b1bbf52e86c5d127413a26277ae8c
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant
2015-03-02 13:54:32 +01:00
Johannes Grassler 2492ef5fb3 Add extended logging options.
There is a range of extended logging options in Openstack services that use
openstack.common.logger (Ceilometer, Cinder, Heat, Keystone, Nova). Adding
heat::logging to support them. This change is identical to
<https://review.openstack.org/#/c/113560/> but it applies to puppet-heat
instead of puppet-ceilometer.

No blueprint/spec, as discussed in the IRC meeting on 08-11-2014.

Change-Id: Ia120b799d676e516d8e593088f93d44891c20cbd
2014-09-01 12:42:16 +00:00