mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-08 23:57:01 +02:00
* Read config before creating logger when booting vault server * Allow for specifying log output in JSON format in a config file, via a 'log_level' flag * Create parser for log format flag * Allow for specifying log format in a config file, via a 'log_format' flag. Also, get rid of 'log_json' flag. * Add 'log-format' command line flag * Update documentation to include description of log_format setting * Tweak comment for VAULT_LOG_FORMAT environment variable * add test for ParseEnvLogFormat() * clarify how log format is set * fix typos in documentation |
||
---|---|---|
.. | ||
logging_test.go | ||
logging.go |