zypper-log - Man Page

Zypper logfile reader

Synopsis

zypper-log [Options] [PID]

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.

Options

-d YYYY-MM-DD

Only view zypper runs of the specified day.

-l FILE

Only read this logfile.

-r NUMBER

Also read the NUMBER latest rotated logfiles.

--help

Print help and quit.

Files

/var/log/zypper.log

zypper 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.

Authors

Dominik Heidler dheidler@suse.de

See Also

zypper(8)

Referenced By

zypper(8).

2024-07-20 SUSE Linux ZYPPER