I found two ways for printing boot messages one: one using dmesg and,
and another the content of file /var/log/boot.log:
The contentcontents of the /var/log/boot.log file are:
while dmesg gives some thingsomething like this:
and so on.
So my question is, how are the two related? When
When should we use dmesg and when boot.log?