
Add devstack files and directories below. - Document: README.rst - Entrypoint: plugin.sh - Functions Library: lib/slogging - Variable Settings: settings - Configuration: files/log-processor.conf - Cron Settings: files/cron.d/* Change-Id: I98df6519ede6916e41579b2318bdc71c2b15df94
29 lines
753 B
ReStructuredText
29 lines
753 B
ReStructuredText
===============================
|
|
Enabling Slogging in DevStack
|
|
===============================
|
|
|
|
1. Download Devstack::
|
|
|
|
git clone https://git.openstack.org/openstack-dev/devstack
|
|
cd devstack
|
|
|
|
2. Add this repo as an external repository in ``local.conf`` file::
|
|
|
|
[[local|localrc]]
|
|
enable_plugin slogging https://git.openstack.org/openstack/slogging
|
|
|
|
To use stable branches, make sure devstack is on that branch, and specify
|
|
the branch name to enable_plugin, for example::
|
|
|
|
[[local|localrc]]
|
|
enable_plugin slogging https://git.openstack.org/openstack/slogging <refspec>
|
|
|
|
In case triggered by cron, set environ variable ``SLOGGING_CRON``::
|
|
|
|
[[local|localrc]]
|
|
SLOGGING_CRON=True
|
|
|
|
3. Run ``stack.sh``::
|
|
|
|
./stack.sh
|