15 Commits

Author SHA1 Message Date
ZhongShengping
994e23c297 Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: Ie7d9deff5d6934f60d4c396520089836bd661767
2018-01-15 17:20:08 +08:00
Juan Antonio Osorio Robles
78b9e1d743 Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: Ifc742e16748195c3cb699ac1e1dc6a36b3861d02
2017-11-27 14:57:17 +02:00
Juan Antonio Osorio Robles
2d02f8924e Accept empty strings for log_dir
An empty string is an acceptable value of this entry, and it forces
logging to stdout/stderr, which is useful when running on containers.

Change-Id: I392d113c13cb6ba77e1bbcaf1b37c54c8b0eb1a5
2017-10-06 13:00:04 +03:00
ZhongShengping
fc4a0fd510 Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: I0d18ec6ffe6b54c85773a6dabb0ed7b6f59a12f4
2016-11-29 17:32:37 +08:00
Iury Gregory Melo Ferreira
a1b8f3b331 Remove verbose
Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: Ie34e021c8a9f1d61be0cc9c6f2f05af76fac24e6
2016-10-25 19:59:23 -03:00
Mykyta Karpin
765557b9dc Fix documentation for log_dir parameter
Change-Id: I283453057845af1ec8e4e1e0419db2e9d5893abf
Partial-Bug: #1600294
2016-10-18 15:06:50 +00:00
Denis Egorenko
e971cd0aeb Revert "Deprecate use_syslog"
This option is not deprecated and still actual.

This reverts commit 40b84c310e6b78226a08e7c04865c037542dfc54.

Change-Id: Ief1c393e2466ca3ff08d67dcacefc0d1c7dd8121
2016-05-31 13:41:17 +00:00
Iury Gregory Melo Ferreira
40b84c310e Deprecate use_syslog
[DEFAULT/use_syslog] was deprecated in Mitaka [1]
init.pp logging.pp - deprecate use_syslog, add warning, remove reference
tests - remove use_syslog and [DEFAULT/use_syslog] verification.

[1]
http://docs.openstack.org/mitaka/config-reference/tables/conf-changes/ceilometer.html

Change-Id: I352e55586bfb9a030665175dc73a27db35a21fcf
2016-05-25 12:39:51 +00:00
Iury Gregory Melo Ferreira
8febdc37c2 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: I67f69fb01e748f64015774d58ac7a8057e79a547
2016-05-18 01:42:06 -03:00
Denis Egorenko
e3c649f087 Totally drop Qpid support
Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.

Change-Id: I1c2682c1650fac8fab492be496ea242f0ed53597
2016-04-18 13:51:40 +03:00
iberezovskiy
01668bfd32 Configure oslo related parameters using puppet-oslo
Additonal changes:

  * switch oslo related parameters to $::os_service_default
    as they are used in oslo defines
  * update unit tests
  * update docs for oslo parameters

Change-Id: I4f813444fbf141abe7f10b3aef7d1aa314ac0ac4
2016-04-11 18:11:08 +03:00
Xingchao Yu
27654f3e17 Improve format of the documentations.
This patch is aim to unify format of the documentations in all
ceilometer classes.

Change-Id: I8b617a14146a90758fa6b8898637206bff6d2f29
2016-01-11 22:33:42 +08:00
Iury Gregory Melo Ferreira
6156cb49f2 Ceilometer $::os_service_default for db and log
Switch to $::os_service_default all params in logging and db.
Changes: logging.pp, db.pp and tests.

Related-bug: #1515273

Change-Id: I412104bf46c4b40fdbd366e3a8a9dc9de5abb5fd
2015-11-24 18:49:06 +00:00
Yanis Guenane
577593222a 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: I1132395295f542f4ba5459769a5b4b829a9cd7a7
2015-10-02 10:06:17 +02:00
Johannes Grassler
078deea616 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
ceilometer::logging to support them.

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

Change-Id: I910e2f9e4f3ad1991d58ba6df16adfbc85e20131
2014-08-19 15:24:29 +00:00