Provided by: trafficserver-dev_9.2.3+ds-1+deb12u1build4_amd64 bug

NAME

       TSDebug - traffic Server Debugging APIs

SYNOPSIS

          #include <ts/ts.h>

       void TSStatus(const char *format, ...)

       void TSNote(const char *format, ...)

       void TSWarning(const char *format, ...)

       void TSError(const char *format, ...)

       void TSFatal(const char *format, ...)

       void TSAlert(const char *format, ...)

       void TSEmergency(const char *format, ...)

       void TSDebug(const char *tag, const char *format, ...)

       int TSIsDebugTagSet(const char *tag)

       void TSDebugSpecific(int debug_flag, const char *tag, const char *format, ...)

       void TSHttpTxnDebugSet(TSHttpTxn txnp, int on)

       void TSHttpSsnDebugSet(TSHttpSsn ssn, int on)

       int TSHttpTxnDebugGet(TSHttpTxn txnp)

       int TSHttpSsnDebugGet(TSHttpSsn ssn)

       const char *TSHttpServerStateNameLookup(TSServerState state)

       const char *TSHttpHookNameLookup(TSHttpHookID hook)

       const char *TSHttpEventNameLookup(TSEvent event)

       TSAssert(...)

       TSReleaseAssert(...)

DIAGS.LOG

       The  following  methods  print  to  diags.log with expected reactions as a coordinated outcome of Traffic
       Server, Traffic Manager, AuTest, CI, and your log monitoring service/dashboard (e.g. Splunk)
              ─────────────────────────────────────────────────────────────────────────────────────────
                API             Purpose                       TrafficManager   AuTest+CI   LogMonitor
              ─────────────────────────────────────────────────────────────────────────────────────────
                TSStatus()      basic information
              ─────────────────────────────────────────────────────────────────────────────────────────
                TSNote()        significant
                                information
              ─────────────────────────────────────────────────────────────────────────────────────────
                TSWarning()     concerning                                                 track
                                information
              ─────────────────────────────────────────────────────────────────────────────────────────
                TSError()       operational failure                            FAIL        review
              ─────────────────────────────────────────────────────────────────────────────────────────
                TSFatal()       recoverable crash             restart          FAIL        review
              ─────────────────────────────────────────────────────────────────────────────────────────
                TSAlert()       significant crash             restart          FAIL        ALERT
              ─────────────────────────────────────────────────────────────────────────────────────────
                TSEmergency()   unrecoverable,misconfigured   EXIT             FAIL        ALERT
              ─────────────────────────────────────────────────────────────────────────────────────────
              │               │                             │                │           │            │
       NOTE:  │               │                             │                │           │            │
--
--
EXAMPLES      │               │                             │                │           │            │
--
SEE ALSO      │               │                             │                │           │            │
--
COPYRIGHT     │               │                             │                │           │            │