Matthieu Huin 971b64deaa Improve logging and CLI output
Logging was incomplete, and unhelpful in case of an exception.
Add also a log_file parameter to the configuration file, so that
CLI actions can be logged to a file for audit.

Change-Id: Ifa7a2f2828fa38be8879a4a9c64fe948b95d5fb8
2021-05-20 16:08:00 +02:00

18 lines
727 B
Plaintext

# Example of a zuul-client configuration file.
# Several sections can be created for different Zuul instances or settings.
# The "example" section below can be used when calling zuul-client like so:
#
# zuul-client --use-conf example ...
[example]
url=https://example.com/zuul/
# A default tenant can be specified in the configuration file; it will be
# overriden by the --tenant argument if set.
# Note that specifying a tenant is not necessary with a white-labeled tenant API URL,
# see https://zuul-ci.org/docs/zuul/howtos/installation.html#white-labeled-tenant
tenant=mytenant
# verify_ssl=False
auth_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
# the path must be writable by the user.
log_file=/path/to/log
log_level=DEBUG