问题原文
原帖链接 · Avi Kivity · CC BY-SA 3.0
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?
已采纳解答
原帖链接 · sivann · CC BY-SA 3.0
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
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
