log of messages when you turn on or off computer?

New to Debian (Or Linux in general)? Ask your questions here!

log of messages when you turn on or off computer?

Postby hthi » 2019-07-27 19:12

debian 10

When you shut down the computer and then turn it on, the following message displays
resuming from hibernation.

I have tested it with the same hdd on several computers.

That is odd because you selected shut down.

Is there a log which stores the messages displayed
while turning on the computer and shutting it
down? Thanks.
hthi
 
Posts: 166
Joined: 2015-05-09 15:43

Re: log of messages when you turn on or off computer?

Postby Head_on_a_Stick » 2019-07-27 19:14

Set the journal to persistent with
Code: Select all
# mkdir -p /var/log/journal

Then use this to list the logs from the previous boot in reverse order:
Code: Select all
journalctl -b -1 -r
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: log of messages when you turn on or off computer?

Postby theblueplll » 2019-07-27 22:00

You had to make 2 threads?

viewtopic.php?f=30&t=142747

I know the answer I gave wasn't the greatest but you could have replied so it got bumped and not have to make 2.
theblueplll
 
Posts: 154
Joined: 2019-04-29 01:17

Re: log of messages when you turn on or off computer?

Postby None1975 » 2019-07-29 16:55

hthi wrote:When you shut down the computer and then turn it on, the following message displays
resuming from hibernation. That is odd because you selected shut down.

This is cosmetic bug, but it was solved in
Code: Select all
Linux debian 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u1 (2019-07-19) x86_64 GNU/Linux
Just update your system.
OS: Debian 10.1 Buster / WM: fvwm
Debian Wiki | DontBreakDebian, My config files in github
User avatar
None1975
 
Posts: 956
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable