Commit Graph

18 Commits

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

Change-Id: I888a398b156239804feb31010894e400b2c04f2f
Closes-Bug: #1943212
2021-09-14 16:02:09 +08:00
Tobias Urdin
a053d4e86e Convert all class usage to relative names
Change-Id: Ic7b8f4e584e3f1ed1d5c6c568cc6caf67493cdda
2019-12-08 23:24:12 +01:00
ZhongShengping
325bcb9a97 Cleanup documentation
Make sure documentation is the same and follow
the standard which we are trying to enforce on
all modules.

Change-Id: I2db292c8f4501d358c19cd8c0276c6b9ea1f6d11
2018-12-13 17:10:02 +08:00
Tobias Urdin
ad1aa1611c Remove deprecated logging
Change-Id: Idfd90ce310f7a43907b93e924d3bbd8f5eab0f31
2018-11-29 11:05:35 +01:00
ZhongShengping
6dc198fe4e Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: I36d78d2642ee7b2dbaa1256e69dbd963696dd8e3
2018-01-15 17:37:10 +08:00
ZhongShengping
b10d37ccbd Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: I725a38c71f199dd33aeb0f5f54af5164afc00998
2017-11-28 09:45:05 +08:00
ZhongShengping
8b0783abb0 Accept empty strings for log_dir and log_file
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: I363a7558e4addf6b984e27bfa19ebec6d13aa01d
2017-10-12 09:42:26 +08:00
Jenkins
dfe7564169 Merge "Remove verbose" 2016-10-24 18:47:25 +00:00
Mykyta Karpin
39062e3ac9 Fix documentation for log_dir parameter
Change-Id: Id7bbb1aa48c282269d1dffe0bc1ccd7afd1bf6f5
Partial-Bug: #1600294
2016-10-10 17:31:27 +03:00
Iury Gregory Melo Ferreira
01e4cea5d2 Remove verbose
Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: I2b35fe30e4e5049b15e6cc58b81c8b202db56191
2016-09-27 19:46:42 -03:00
Alex Schultz
9ebd92afbe Update log_file documentation
log_file should be set to $::os_service_default and not to the boolean
false because the boolean false gets interpreted as a file name.

Change-Id: Ie52ea5bbd5e921aeede7a5b3c532c20574728bc2
2016-09-08 17:49:22 -06:00
Iury Gregory Melo Ferreira
a498d302b7 Revert "Trove Deprecations"
This commit partially reverts original commit.

use_syslog option is not deprecated and still actual.

This reverts commit 700ddfd674a817c190916890a4a74f82ed82d3c1

Change-Id: Ie7515a45abeb3b0b4a7833bd19a32fbab759765a
2016-05-31 12:19:24 -03:00
Iury Gregory Melo Ferreira
2d5ee453cf Trove Deprecations
Deprecation of parameters listed in Mitaka during Newton cycle [1]

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

Change-Id: I700ddfd674a817c190916890a4a74f82ed82d3c1
2016-05-27 12:34:18 -03:00
Iury Gregory Melo Ferreira
8246a80558 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
Deprecated verbose in all classes
Remove verbose in README
Remove verbose from tests.
If this option is not set explicitly, there is no such warning.

Change-Id: Iedbc3ea8824fdef8e1e5434d8be9463704c0579a
2016-05-18 13:34:00 -03:00
Alexey Deryugin
b0804e5f8a Use oslo module for logging and database configuration
Additonal changes:

  * switch database related parameters to $::os_service_default
    as they are used in oslo::db
  * update unit tests

Change-Id: I2c79261d8000d68521f783b5df9a535ff47ce53d
2016-04-23 11:56:34 +00:00
Denis Egorenko
3352d44262 Totally drop Qpid support
Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.

Change-Id: Ie33f82b278bdb685cf1c78b704725eb03be1a19e
2016-04-18 14:11:52 +03:00
Matt Fischer
59f75e6085 Trove external dependency management
Move all dependency tracking to an external class which simplifies the
relationships and allows managing Trove without necessarily using
packages.

This change also cleans up how the client is handled to make
it more configurable and match other modules.

Finally the reference to the deprecated and non-functional
keystone::python class is dropped.

Change-Id: I943685fbeb114dead80b7465b8f5c564a0bc9fe0
2016-03-21 19:42:26 -06:00
Gael Chamoulaud
0ddd0067a1 Put all the logging related parameters to the logging class
Currently logging configuration is splitted in two distinct classes,
the api.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
* log_file

This change remains backward compatible with what is currently in place.

Related-bug: #1515273
Change-Id: I76f51876e78015db722ff0fc37f6bcd76fd651f2
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-12-15 14:38:42 +01:00