Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Severity 7 — Debugging

Direct answer

Syslog severity 7 (debugging) carries debug output; it is very verbose and should only be enabled briefly and never sent everywhere by default.

When to use this

Use it to understand debug output in logs and why it should be kept off the console.

First 30 seconds

1. Severity 7 Debugging: debug output.

2. High volume and CPU impact.

3. Never leave enabled in production.

4. Log to buffer, not console.

5. Use conditional debugging.

Operational verification

debug enabled → messages → stopped after capture

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Debug mistakes
  • Running debug all or debugs without filters on production.
  • Leaving debugs on after the session (check with show debugging).
  • Logging debug output to the console over a slow serial line.
  • Sending debug-level messages to the syslog server permanently.
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS XE
Scope / prerequisiteUse it to understand debug output in logs and why it should be kept off the console.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • Severity numbers run 0 most severe through 7 debugging
  • A configured threshold includes that severity and more severe messages
  • Console, buffer, terminal monitor and remote logging are distinct destinations
  • Excessive debugging can harm a production control plane; use bounded capture and rollback.
Key checks
  • show logging — debug output
  • show debugging — active debugs
  • undebug all — stop debugs
ReferenceWhat it is1 section · depth on demand

Using debug safely

logging buffered 64000 debugging
no logging console
debug ip ospf adj
undebug all

Documented example, not captured output. Send debug output to the buffer, not the console; limit scope with conditional debugs (debug condition interface ...) or ACLs, and always stop with undebug all. A broad debug on a busy router can drive CPU to 100 %.

ReferenceWhy it matters1 section · depth on demand

Overview

Severity 7, debugging, is the output of debug commands. It is extremely detailed and can be produced fast enough to overload a device's CPU, so it should only be enabled briefly, as narrowly as possible, and written to the log buffer rather than the console.

Severity 7 — Debugging: output from debug commands. Send debugs to the buffer, not the console, to avoid overwhelming the CPU:

no logging console
logging buffered 64000 debugging
terminal monitor              ! on the VTY session if you want to see them
debug ip ospf adj
undebug all

Never leave debugging enabled; on busy devices, debugs can cause high CPU and outages. Use conditional debugs (debug condition interface Gi1/0/1) where available.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Severity 7 — debugging: maximum detail, and maximum cost

Level 7 includes every message, including debug output. On Catalyst 9300 the console and terminal monitor default to debugging, and syslog servers default to informational.

C9300# show logging | include Console|Monitor|Buffer|Trap
    Console logging: level debugging, 2210 messages logged, xml disabled,
    Monitor logging: level debugging, 0 messages logged, xml disabled,
    Buffer logging:  level debugging, 2210 messages logged, xml disabled,
    Trap logging: level informational, 1984 message lines logged
C9300(config)# no logging console
C9300(config)# logging buffered 8388608 debugging
C9300# terminal monitor
C9300# debug ip ospf adj
C9300# show logging | include OSPF
C9300# undebug all
C9300# terminal no monitor

Safe debugging on a production switch

RuleReason
Disable console logging or set it high before debuggingConsole output is slow and can make the device unresponsive
Log to the buffer, read with show loggingFast, and survives a lost session
Debug narrowly (one feature, one neighbour, a conditional debug)Broad debugs on the data path can overload the CPU
Set a reminder and run undebug allForgotten debugs keep consuming CPU
Prefer show commands, counters and EPCLower risk for most questions

Syslog servers and level 7

Sending debugging to a syslog server (logging trap debugging) can flood the server and the network during an incident. Keep logging trap informational (the default), and raise it temporarily only with a narrowly scoped debug.

Buffer size

The guide gives a default buffer of 102,400 bytes. That holds little debug output. Increase it for the duration of the investigation, for example to 8 MB, and reduce it afterwards if memory is tight.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Safer debugging

logging buffered 64000 debugging
no logging console
terminal monitor
debug ip ospf adj
undebug all

Documented example, not captured output. Use conditional debugs (debug condition interface Gi1/0/1) or packet captures (EPC) where possible.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 5424

Authoritative/upstream documentation reviewed for bounded claims in IP Services → Syslog → Severity 7 — Debugging. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc5424.html · confidence 94%
Confirmation

Confirm action

Continue?