12

journalctl allows me to filter on priority (-p) and color-codes the priority in the output. But is there any way to get it to output the priority directly, as text?

Avi Kivity
  • 223
  • 2
  • 6
  • See also [this](https://unix.stackexchange.com/questions/408415/distinguishing-levels-in-journalctl) question: "Distinguishing levels in journalctl" – Matthias Braun Sep 09 '21 at 18:54

1 Answers1

5

The following output options display priority (and facility), but in a different format:

journalctl -o verbose
journalctl -o json (and json-pretty)
journalctl -o export
sivann
  • 543
  • 5
  • 16