# Pi crashed 3 times mid-print, almost same place

**URL:** <https://klipper.discourse.group/t/pi-crashed-3-times-mid-print-almost-same-place/13024>\
**Category:** General Discussion\
**Created:** [January 11, 2024, 2:45am UTC](https://klipper.discourse.group/t/pi-crashed-3-times-mid-print-almost-same-place/13024 "2024-01-11T02:45:34Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [January 15, 2024, 7:24am UTC](https://klipper.discourse.group/t/pi-crashed-3-times-mid-print-almost-same-place/13024/15 "2024-01-15T07:24:36Z")

</div>

_sigh_ Debian 12, right?  
Debian 12 “improved” (personally, I think it is horrible) the traditional logging mechanisms and is only using systemd’s journald.

Relevant commands are:

```auto
# Limit the time scope:
journalctl --since=2015-11-15 --until="2015-11-16 20:59:59"

# Only errors:
journalctl -b -p err

# Only kernel messages
journalctl -t kernel

# Messages from last boot
journalctl -b-1

# Show how many boot have been logged:
journalctl --list-boots

```

This is only a small selection of useful journalctl commands, but should give you a start.  
But to make things even worse, many distributions chose to do only volatile logging, so nothing is saved and logs will not survive a reboot. This could look like:

```auto
$ journalctl -b-1
Specifying boot ID or boot offset has no effect, no persistent journal was found.

```

If this is the case try:

- Edit `/etc/systemd/journald.conf` and make sure it looks like:

```auto
[Journal]
Storage=persistent

```

- Run `sudo killall -USR1 systemd-journald`
- Reboot and try again and above commands should work
- All edits and commands should be executed via `sudo` or as root

IMO systemd is so big and so complex that it still has various quirks and bugs. I’m not a particular fan of it, but YMMV.

Now, of course you need to provoke another crash before you get any logs.

---

_[View the full topic](https://klipper.discourse.group/t/pi-crashed-3-times-mid-print-almost-same-place/13024)._
