You are not logged in.
Pages: 1
Topic closed
Hi,
I switched to systemd and now I am missing my boot log. True journalctl contains a lot of output, but what is missing from that are the messages printed to tty1 during boot, i.e. the [ OK ] messages and errors printed to it. I have grepped through the complete output: No sign of any of the messages.
I ended up disabling clearing of tty1 and my autologin so I could read the messages, but I would rather have them logged somewhere. Previously, those messages could be found in /var/log/boot but there is nothing added after my upgrade to systemd.
Where can I find these messages or how can I enable logging them?
Last edited by javex (2012-11-13 14:22:37)
Offline
I can't help you with that specific query, but you can use 'systemctl --failed' to see which units have failed.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I use the journal to filter the output of systemd, and make pull from only the last boot :
journalctl /usr/lib/systemd/systemd -b
Not sure how you would go about outputting this to a file on each boot though.. anyway, hope that helps!
Last edited by miscreant (2012-11-12 20:05:47)
Offline
Ah very well, I did not know there were different files I could specify. It still does not look like the output on my screen but it seems to contain more & different messages. Since I currently have fixed all issues, I cannot judge if it would display the issues correctly. If there is no other way (i.e. receive the exact output that was given on tty1), then I will settle for this.
Thank you very much for your response.
Offline
The messages printed to tty1 are not particularly useful - error messages from the services are not printed there, just a bunch of "Starting XYZ" and "Started XYZ" (that's why they are not logged anywhere). All failures can be obtained from 'systemctl --failed', and the output of 'systemctl status xyz.service' is much more useful than anything printed on tty1.
Offline
Okay, thank you very much. I will keep these commands in mind until I have the same issue again.
But one thing I would like to note: I had a misconfiguration with laptop-mode and it did print error messages to the screen that I was not able to find (but maybe they were somewhere and I just didn't find it).
Offline
Hey, I have the exact same problem (found with google). I want to have a boot messages log in /var/log/boot.log and maybe a shutdown.log there too.
Since I too can't find a few errors which appear during boot, how do I enable it? syystemctl status laptop_mode didn't bring up any results.
Offline
Please don't necrobump; particularly solved threads: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed