• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Vault
  • Install
  • Tutorials
  • Documentation
  • API
  • Integrations
  • Try Cloud(opens in new tab)
  • Sign up
Vault Home

Documentation

Skip to main content
  • Documentation
  • What is Vault?
  • Use Cases

  • Browser Support
  • Installing Vault
    • Overview
    • replication
    • sentinel
    • telemetry
    • ui
    • Log Completed Requests
    • Entropy Augmentation
      ENTENT
    • kms_library
      ENTENT

  • Vault Integration Program
  • Vault Interoperability Matrix
  • Troubleshoot






  • Glossary


  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Vault
  3. Documentation
  4. Configuration
  5. Log Completed Requests
  • Vault
  • v1.11.x
  • v1.10.x
  • v1.9.x
  • v1.8.x
  • v1.7.x
  • v1.6.x
  • v1.5.x
  • v1.4.x

ยปLog Completed Requests

Vault can be configured to log completed requests using the log_requests_level configuration parameter.

Activating the Log Completed Requests

By default, logging completed requests is disabled. To activate the requests logging, set the log_requests_level configuration option in the Vault server configuration to the desired logging level. The acceptable logging levels are error, warn, info, debug, and trace. If the vault server is already running, you can still configure the parameter in the Vault server configuration, and then send an SIGHUP signal to the vault process.

log_requests_level = "trace"

listener "tcp" {
  # ...
}

Deactivating the Log Completed Requests

To deactivate logging completed requests, simply remove the log_requests_level configuration parameter from the vault server configuration, and send a SIGHUP signal to the vault process.

Edit this page on GitHub

On this page

  1. Log Completed Requests
  2. Activating the Log Completed Requests
  3. Deactivating the Log Completed Requests
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)