mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(MAINT) Add optional API Request Logging
This was partially an exercise to use middleware, but also to enable basic logging for the API by logging all the API calls to the logger.
This commit is contained in:
parent
a21d8c5642
commit
85ff3f7022
17 changed files with 85 additions and 24 deletions
|
|
@ -509,6 +509,12 @@
|
|||
# Expects a boolean value
|
||||
# (optional; default: false)
|
||||
#
|
||||
# - request_logger
|
||||
# Enable API Request logging to the logger
|
||||
# When enabled all requests to the API are written to the standard logger.
|
||||
# Expects a boolean value
|
||||
# (optional; default: false)
|
||||
#
|
||||
# - max_lifetime_upper_limit
|
||||
# Sets a lifetime upper limit (in hours) for how long the vm lifetime can be set via the API. Lifetime can be set and extended
|
||||
# so this configuration is used to enforce an upper limit to both the initial lifetime request and/or the extended
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue