Additional Configuration
In addition to service routing, you can also configure voltproxy’s meta behavior.
Structured Logging
services:
# ...
log:
level: "info"
handler: "text"
Properties:
- level controls the verbosity of voltproxy’s structured logging (Default:
info
). It can bedebug
,info
,warn
, orerror
(increasing levels of verbosity). - handler controls the output logging format (Default:
text
). It can also bejson
.
Tip: using the JSON handler, you can pipe voltproxy’s log output to a tool like jq for prettier logging.
Read Timeout
services:
# ...
readTimeout: 0s
- readTimeout is the number of seconds until the reverse proxy server times out (Default:
0s
).