I3-DUMP-LOG(1)
β¨ i3-dump-log β the manual, but make it cute β¨
okay so bestie, welcome to i3-dump-log π this is the little tool from the i3 manual (section 1, the user commands girlies) that dumps the i3 SHM log. that's the whole name, that's the whole vibe. π«Ά
πΈ SYNOPSIS πΈ
i3-dump-log [-s <socketpath>] [-f]
π DESCRIPTION π
so here's the tea, and it's actually kind of iconic: debug versions of i3 automatically use 1% of your RAM (but 25 MiB max) to store full debug log output. yes, 1% of your RAM, slay. π
and why would it do that? because it's extremely helpful for bugreports and figuring out what is going on, and it does it without permanently logging to a file. no dusty log files lying around, we love a low-waste queen. β¨
with i3-dump-log, you can dump the SHM log to stdout. that's it, that's the job, and it ate. π
the flags, bestie:
-s <socketpath>β the socket path option, right there in the synopsis, no cap. π-fβ this one works liketail -f, i.e. the process does not terminate after dumping the log, but prints new lines as they appear. it's giving "we stay streaming". π₯
lowkey important: -f means the process keeps running forever-ish, printing new lines as they show up. so if you wanted it to end, it will not, and that's on purpose. π
π¦ EXAMPLE π¦
here's the moment you've been waiting for, the main character example:
i3-dump-log | gzip -9 > /tmp/i3-log.gz
pipe it, gzip it, yeet it into /tmp/i3-log.gz. obsessed. πΈ
π SEE ALSO π
i3(1)β go read it, iykyk. π
π AUTHOR π
Michael Stapelberg and contributors β thank you for your service, fr fr. π
and that's the page!! brought to you by i3 4.25.1, dated 01/01/1980 (yes bestie, 1980, we don't ask questions, we just vibe π§). stay logged, stay hydrated, and remember: 1% of your RAM is a small price to pay for full debug output. πβ¨π
π¦ where this page comes from
- fedora 43: i3 4.25.1-1.fc43 Β· BSD-3-Clause
- fedora 44: i3 4.25.1-1.fc44 Β· BSD-3-Clause
- nixpkgs unstable: i3 4.25.1
- ubuntu resolute: i3-wm 4.25.1-1 Β· BSD-3-Clause
- ubuntu stonking: i3-wm 4.25.1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms