Set up every time record log in file
This will allow users to record logs of all their commands into a predefined log file, in clouds.yaml. The log should have a format similar to that of oslo.log. Change-Id: I1b334bf429d575fc25809c9706fc0b11116be3f1 Implements: blueprint every-time-record-log-in-file
This commit is contained in:

committed by
TerryHowe

parent
46cc7d12ad
commit
e23dd6de58
doc/source
openstackclient
@ -123,6 +123,18 @@ OPTIONS
|
||||
:option:`--os-interface` <interface>
|
||||
Interface type. Valid options are `public`, `admin` and `internal`.
|
||||
|
||||
:option:`--log-file` <LOGFILE>
|
||||
Specify a file to log output. Disabled by default.
|
||||
|
||||
:option:`-v, --verbose`
|
||||
Increase verbosity of output. Can be repeated.
|
||||
|
||||
:option:`-q, --quiet`
|
||||
suppress output except warnings and errors
|
||||
|
||||
:option:`--debug`
|
||||
show tracebacks on errors and set verbosity to debug
|
||||
|
||||
COMMANDS
|
||||
========
|
||||
|
||||
@ -240,6 +252,15 @@ When :option:`--os-token` and :option:`--os-url` are both present the
|
||||
:option:`--os-auth-url` and :option:`--os-username` are present ``password``
|
||||
auth type is selected.
|
||||
|
||||
Logging Settings
|
||||
----------------
|
||||
|
||||
:program:`openstack` can record the operation history by logging settings
|
||||
in configuration file. Recording the user operation, it can identify the
|
||||
change of the resource and it becomes useful information for troubleshooting.
|
||||
|
||||
See :doc:`../configuration` about Logging Settings for more details.
|
||||
|
||||
|
||||
NOTES
|
||||
=====
|
||||
|
Reference in New Issue
Block a user