Page 1 of 1

[SOLVED] - yum.log analog in CentOS/rhel-8

Posted: 2021/05/11 19:23:56
by warron.french
What file list what packages were most recently update, like the /var/log/yum.log file does/did in RHEL/CentOS-7?

I am not finding the data I am looking for in /var/log/dnf.log or whatever.

Re: yum.log analog in CentOS/rhel-8

Posted: 2021/05/11 19:28:12
by jlehtone
How about

Code: Select all

sudo dnf history
Then you look and transaction N with

Code: Select all

sudo dnf history info N
Or even a range summarized:

Code: Select all

sudo dnf history info N..M

Re: yum.log analog in CentOS/rhel-8

Posted: 2021/05/11 19:32:40
by warron.french
So no log file anymore?

Re: yum.log analog in CentOS/rhel-8

Posted: 2021/05/11 20:58:28
by TrevorH
/var/log/dnf.rpm.log

Re: yum.log analog in CentOS/rhel-8

Posted: 2021/05/11 22:08:44
by tunk
Not a log file: rpm -qa --last | more

Re: yum.log analog in CentOS/rhel-8

Posted: 2021/05/12 00:13:10
by warron.french
Thanks tunk, there is a log file.

@TrevorH, thank you too. I had looked at that log file and apparently did not review the entire file. I was baffled by all of the lines of "Initializing logging" statements.