Apache Traffic Server Logo
  • Preface
  • Getting Started
  • Release Notes
  • Administrator’s Guide
    • Introduction
    • Installing Traffic Server
    • Proxy Cache Configuration
    • Interacting with Traffic Server
    • Security
    • Cache Storage
    • Plugins
    • Logging
      • Understanding Traffic Server Logs
      • Log Destinations
      • Formatting Log Files
      • Logging Cache Results
      • Log Rotation and Retention
      • Log Filters
      • Configuration Examples
    • Monitoring
    • Configuring Traffic Server
    • Layer 4 Routing
    • Performance Tuning
    • Configuration Files
    • Audience
  • Developer’s Guide
  • Appendices
Apache Traffic Server
  • Administrator’s Guide
  • Logging
  • View page source

Logging

Traffic Server generates log files that contain information about every request it receives and every error it detects. This chapter will examine the various logging features: from how to configure logging destinations, defining custom logging formats, establishing logfile rotation, and more. Common configuration scenarios are also provided.

  • Understanding Traffic Server Logs
    • Enabling Logs
    • Log Types
  • Log Destinations
    • Local Logging
    • Remote Logging
  • Formatting Log Files
    • Defining Formats
    • Log Fields
    • Line Length
    • Log Field Slicing
  • Logging Cache Results
    • Interpreting Cache Results
    • Cache Result Codes
    • Cache Result Sub-Codes
  • Log Rotation and Retention
    • Rotation Options
    • Retention Options
  • Log Filters
  • Configuration Examples
    • Online Event Log Builder
    • Emulating Other HTTP Server Formats
    • Hourly Rotated Squid Proxy Logs
    • Summarizing Number of Requests and Total Bytes Sent Every 10 Seconds
    • Dual Output to Compact Binary Logs and ASCII Pipes
    • Filtering Events to ASCII Pipe for Alerting
    • Configuring ASCII Pipe Buffer Size
    • Summarizing Origin Responses by Hour
Previous Next

© Copyright 2025, dev@trafficserver.apache.org.

Built with Sphinx using a theme provided by Read the Docs.
Apache Traffic Server v: 9.2
Languages
Versions