logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zypper-log - Zypper logfile reader

Authors

       Dominik Heidler dheidler@suse.de

Description

zypper-log can read zypper’s logfiles. It can also handle rotated logfiles, and will open plain, xz, gz
       and bz2-compressed files.

       By default /var/log/zypper.log will be read and a list of all zypper invocations is shown:

           $ 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

       When you provide a pid, you will get the complete log for the corresponding zypper run.

Files

/var/log/zypper.logzypper default logfile.

       /var/log/YaST2/y2log
           As YAST uses a similar logfile format, you should be able to scan the YAST logfiles as well, using
           the -l switch.

Name

       zypper-log - Zypper logfile reader

Options

-dYYYY-MM-DD
           Only view zypper runs of the specified day.

       -lFILE
           Only read this logfile.

       -rNUMBER
           Also read the NUMBER latest rotated logfiles.

       --help
           Print help and quit.

See Also

zypper(8)

SUSE Linux                                         2025-05-22                                      ZYPPER-LOG(8)

Synopsis

zypper-log [OPTIONS] [PID]

See Also