ZYPPER-LOG(8)
π ZYPPER-LOG(8) β the zypper logfile reader, bestie edition
okay so first things first: this is a page from the zypper manual, section 8 (system administration commands, iykyk). it's called zypper-log and honestly? she's a little icon. let's get into it β¨
πΈ SYNOPSIS πΈ
zypper-log [OPTIONS] [PID]
that's it. options, then optionally a PID. simple. slay.
π¦ DESCRIPTION π¦
zypper-log reads zypper's logfiles for you π. and not just the plain ones β she also handles rotated logfiles, and she'll happily open plain, xz, gz and bz2-compressed files. versatile queen π
by default she reads /var/log/zypper.log and shows you a list of all the zypper invocations in there, like this:
$ zypper-log
Reading /var/log/zypper.log ............... DONE
TIME PID VER CMD
2013-10-15 11:01 2195 1.11.14 /usr/bin/zypper se spell
2013-10-15 11:03 2703 1.11.14 /usr/bin/zypper in aspell-en aspell-ispell aspell-de
2013-10-15 15:00 22463 1.11.14 /usr/bin/zypper lr -u
2013-10-15 15:00 22479 1.11.14 /usr/bin/zypper lr -s
look at that table. gorgeous. no notes. π
and when you provide a pid? oh you get the complete log for that specific zypper run. the whole thing. main character energy for that one process π«Ά
β¨ OPTIONS β¨
-d YYYY-MM-DDβ only look at zypper runs from the day you specify. date format is exactlyYYYY-MM-DD, ngl don't freestyle it π-l FILEβ only read this logfile. one file, your choice, that's the vibe π¦-r NUMBERβ also read theNUMBERlatest rotated logfiles. so like, the freshest leftovers π₯--helpβ prints the help and dips. that's it, that's the whole job π
π FILES π
/var/log/zypper.logβ the zypper default logfile. the OG. the one she reads if you don't tell her otherwise π/var/log/YaST2/y2logβ so YaST uses a similar logfile format, which means you should be able to scan the YaST logfiles too β just use the-lswitch. crossover episode, we love to see it β
bestie note: "should be able to" β that's the page's wording, not mine. it's a similar format, so, y'know. π€·ββοΈ
π AUTHORS π
Dominik Heidler dheidler@suse.de β thank you for your service, king π«‘π
π SEE ALSO π
zypper(8) β go read the big one, she's the whole reason this little reader exists π«
and that's the page!! β¨ written for SUSE Linux, version/date 2026-10-27, and footer says ZYPPER-LOG(8) on both ends because symmetry is cute π ok bye bestie, go read some logs ππ¦πΈ
π¦ where this page comes from
- arch rolling: zypper 1.14.102-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms