Suse/OpenSUSE Linux zypper command log file

Suse/OpenSUSE Linux zypper command log file

To see a log of Suse/OpenSUSE Linux zypper command log, enter:
# cat /var/log/zypp/history
Sample outputs:

2017-05-04 01:15:14|radd   |repo-oss|http://download.opensuse.org/distribution/leap/42.2/repo/oss|
2017-05-04 01:15:14|radd   |update|http://download.opensuse.org/update/leap/42.2/oss|
2017-05-23 13:39:17|command|root@opensuse-42-2|'zypper' 'install' 'htop'|
# 2017-05-23 13:39:17 desktop-file-utils-0.22-8.8.x86_64.rpm installed ok
# Additional rpm output:
# /etc/profile.d/lang.sh: line 80: warning: setlocale: LC_COLLATE: cannot change locale (C.UTF-8): No such file or directory
# /etc/profile.d/lang.sh: line 80: warning: setlocale: LC_COLLATE: cannot change locale (C.UTF-8)
# /etc/profile.d/lang.sh: line 76: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8): No such file or directory
# 
2017-05-23 13:39:17|install|desktop-file-utils|0.22-8.8|x86_64||repo-oss|1850d27f18cda590e360c41f6d625af2bd6ef2d3|
2017-05-23 13:39:18|install|libunwind|1.1-12.5|x86_64||repo-oss|81940645839cbc6b9ec0b8a13af448cc1e033829|
2017-05-23 13:39:18|install|lsof|4.89-4.2|x86_64||repo-oss|840787a82b536dfe275d3a0f91bc255ecba9249c|
2017-05-23 13:39:18|install|update-desktop-files|12.1-30.2|noarch||repo-oss|821db40ae0abf2aceca6124d5807f86abb7e1a22|
2017-05-23 13:39:18|install|strace|4.10-3.2|x86_64||repo-oss|467acde3cdfedff76b6ea29070229fa15853473b|
# 2017-05-23 13:39:18 htop-1.0.3-9.4.x86_64.rpm installed ok
# Additional rpm output:
# /etc/profile.d/lang.sh: line 80: warning: setlocale: LC_COLLATE: cannot change locale (C.UTF-8): No such file or directory
# /etc/profile.d/lang.sh: line 80: warning: setlocale: LC_COLLATE: cannot change locale (C.UTF-8)
# /etc/profile.d/lang.sh: line 76: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8): No such file or directory
# 
2017-05-23 13:39:18|install|htop|1.0.3-9.4|x86_64|root@opensuse-42-2|repo-oss|dada97496832f355d33a116a09e57428a9453b90|

Examples and usage: How to find out and show a log of actions taken by the software management on Linux