How to get the logs for a certain time period#

How to get the logs for the last boot#

Logs of last boot for a service:#

The logs of the last boot for a service can be retrieved using this command:

journalctl -b -u <service_name>

For example, the logs of the service hello_world of the last boot can be retrieved using:

root@sm2s-imx8nano:~# journalctl -b -u hello_world.service
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:56:58 sm2s-imx8nano echo[1194]: Hello World
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:58:01 sm2s-imx8nano echo[1203]: Hello World
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:59:07 sm2s-imx8nano echo[1217]: Hello World
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.

Logs of last boot for the kernel:#

The kernel logs of the last boot can be retrieved using this command:

journalctl -b -k

Here is an example of the kernel logs of the last boot:

root@sm2s-imx8nano:~# journalctl -b -k
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...

Logs of last boot for the system:#

The system logs of the last boot can be retrieved using this command:

journalctl -b --system

Here is an example of the system logs of the last boot:

root@sm2s-imx8nano:~# journalctl -b --system
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: systemd 255.21^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Detected architecture arm64.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Hostname set to <sm2s-imx8nano>.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Using hardware watchdog 'rn5t618-wdt', version 0, device /dev/watchdog0
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Watchdog running with a hardware timeout of 32s.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: /etc/systemd/system/weston.socket.d/weston-socket-simplecore.conf:4: Failed to parse mode value, ignoring:
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Queued start job for default target Graphical Interface.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /session.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/getty.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/modprobe.
...

How to get the logs since a date#

Logs since a date for a service:#

The logs for a service since a date can be retrieved using this command:

journalctl -u <service_name> --since "<date>"

For example, the logs of the service hello_world since today can be retrieved using:

root@sm2s-imx8nano:~# journalctl -u hello_world.service --since today
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:56:58 sm2s-imx8nano echo[1194]: Hello World
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:58:01 sm2s-imx8nano echo[1203]: Hello World
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:59:07 sm2s-imx8nano echo[1217]: Hello World
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.

For example, the logs of the service hello_world since 07:59 on November 28th, 2025 can be retrieved using:

root@sm2s-imx8nano:~# journalctl -u hello_world.service --since "2025-11-28 07:59:00"
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:59:07 sm2s-imx8nano echo[1217]: Hello World
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.

For example, the logs of the service hello_world since 07:58 can be retrieved using:

root@sm2s-imx8nano:~# journalctl -u hello_world.service --since 07:58
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:58:01 sm2s-imx8nano echo[1203]: Hello World
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:59:07 sm2s-imx8nano echo[1217]: Hello World
Nov 28 07:59:07 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.

Logs since a date for the kernel:#

The kernel logs since a date can be retrieved using this command:

journalctl -k --since "<date>"

Here is an example of the kernel logs since yesterday:

root@sm2s-imx8nano:~# journalctl -k --since yesterday
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...

Here is an example of the kernel logs since 07:43:17 on November 28th, 2025:

root@sm2s-imx8nano:~# journalctl -k --since "2025-11-28 07:43:17"
Nov 28 07:43:17 sm2s-imx8nano kernel: kauditd_printk_skb: 8 callbacks suppressed
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1334 audit(1764315797.316:19): prog-id=19 op=LOAD
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1300 audit(1764315797.316:19): arch=c00000b7 syscall=280 success=yes exit=17 a0=5 a1=40000f3950 a2=78 a3=0 items=0 ppid=973 pid=975 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" key=(null)
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1327 audit(1764315797.316:19): proctitle=2F7573722F62696E2F72756E630072756E002D62002F7661722F6C69622F73696D706C657377697463682D617070732F66732F617070732F73696D706C657377697463682D6D6F7371756974746F0073696D706C657377697463682D6D6F7371756974746F
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1334 audit(1764315797.316:20): prog-id=20 op=LOAD
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1300 audit(1764315797.316:20): arch=c00000b7 syscall=280 success=yes exit=19 a0=5 a1=40000f36e0 a2=78 a3=0 items=0 ppid=973 pid=975 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" key=(null)
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1327 audit(1764315797.316:20): proctitle=2F7573722F62696E2F72756E630072756E002D62002F7661722F6C69622F73696D706C657377697463682D617070732F66732F617070732F73696D706C657377697463682D6D6F7371756974746F0073696D706C657377697463682D6D6F7371756974746F
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1334 audit(1764315797.316:21): prog-id=20 op=UNLOAD
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1300 audit(1764315797.316:21): arch=c00000b7 syscall=57 success=yes exit=0 a0=13 a1=0 a2=0 a3=0 items=0 ppid=973 pid=975 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="runc" exe="/usr/bin/runc" key=(null)
Nov 28 07:43:17 sm2s-imx8nano kernel: audit: type=1327 audit(1764315797.316:21): proctitle=2F7573722F62696E2F72756E630072756E002D62002F7661722F6C69622F73696D706C657377697463682D617070732F66732F617070732F73696D706C657377697463682D6D6F7371756974746F0073696D706C657377697463682D6D6F7371756974746F
...

Here is an example of the kernel logs since 07:43:

root@sm2s-imx8nano:~# journalctl -k --since 07:43
Nov 28 07:43:00 sm2s-imx8nano kernel: fec 30be0000.ethernet ETH0: renamed from eth0
Nov 28 07:43:01 sm2s-imx8nano kernel: FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Nov 28 07:43:01 sm2s-imx8nano kernel: i2c_ids_of: loading out-of-tree module taints kernel.
Nov 28 07:43:01 sm2s-imx8nano kernel: caam-snvs 30370000.caam-snvs: ipid matched - 0x3e
Nov 28 07:43:01 sm2s-imx8nano kernel: caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
Nov 28 07:43:01 sm2s-imx8nano kernel: caam 30900000.crypto: device ID = 0x0a16040100000100 (Era 9)
Nov 28 07:43:01 sm2s-imx8nano kernel: caam 30900000.crypto: job rings = 2, qi = 0
Nov 28 07:43:02 sm2s-imx8nano kernel: usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
Nov 28 07:43:02 sm2s-imx8nano kernel: usb_phy_generic usbphynop1: dummy supplies not allowed for exclusive requests
Nov 28 07:43:02 sm2s-imx8nano kernel: ci_hdrc ci_hdrc.0: EHCI Host Controller
...

Logs since a date for the system:#

The system logs since a date can be retrieved using this command:

journalctl --system --since "<date>"

Here is an example of the system logs since today:

root@sm2s-imx8nano:~# journalctl --system --since today
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: systemd 255.21^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Detected architecture arm64.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Hostname set to <sm2s-imx8nano>.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Using hardware watchdog 'rn5t618-wdt', version 0, device /dev/watchdog0
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Watchdog running with a hardware timeout of 32s.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: /etc/systemd/system/weston.socket.d/weston-socket-simplecore.conf:4: Failed to parse mode value, ignoring:
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Queued start job for default target Graphical Interface.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /session.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/getty.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/modprobe.
...

Here is an example of the system logs since 07:44:00 on November 28th, 2025:

root@sm2s-imx8nano:~# journalctl --system --since "2025-11-28 07:44:00"
Nov 28 07:45:03 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 46 messages.
Nov 28 07:46:27 sm2s-imx8nano simpleswitch-mqtt-daemon[562]: got /monitor/ip
Nov 28 07:46:27 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:47:49 sm2s-imx8nano simpleswitch-mqtt-daemon[562]: got /monitor/ip
Nov 28 07:47:49 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:49:07 sm2s-imx8nano systemd-logind[566]: New session c2 of user root.
Nov 28 07:49:07 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:49:07 sm2s-imx8nano systemd[1]: Started Session c2 of User root.
Nov 28 07:51:03 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: Started Hello World.
...

Here is an example of the system logs since 07:51:

root@sm2s-imx8nano:~# journalctl --system --since 07:51
Nov 28 07:51:03 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:56:58 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:56:58 sm2s-imx8nano echo[1194]: Hello World
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.
Nov 28 07:57:55 sm2s-imx8nano systemd[1]: Starting Cleanup of Temporary Directories...
Nov 28 07:57:55 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 3 messages.
Nov 28 07:57:55 sm2s-imx8nano systemd-tmpfiles[1198]: /usr/lib/tmpfiles.d/legacy.conf:13: Duplicate line for path "/run/lock", ignoring.
Nov 28 07:57:55 sm2s-imx8nano systemd-tmpfiles[1198]: /usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
Nov 28 07:57:55 sm2s-imx8nano systemd-tmpfiles[1198]: /usr/lib/tmpfiles.d/var.conf:14: Duplicate line for path "/var/log", ignoring.

How to get the logs until a date#

Logs until a date for a service:#

It is possible to get the logs for a service until a date, using this command:

journalctl -u <service_name> --until "<date>"

For example, the logs of the service hello_world until 07:59 on November 28th, 2025 can be retrieved using:

sm2s-imx8nano:~# journalctl -u hello_world.service --until "2025-11-28 07:59:00"
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:56:58 sm2s-imx8nano echo[1194]: Hello World
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:58:01 sm2s-imx8nano echo[1203]: Hello World
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.

For example, the logs of the service hello_world until 73 minutes ago can be retrieved using:

root@sm2s-imx8nano:~# journalctl -u hello_world.service --until "73 minutes ago"
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:56:58 sm2s-imx8nano echo[1194]: Hello World
Nov 28 07:56:58 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.

Logs until a date for the kernel:#

The kernel logs until a date can be retrieved using this command:

journalctl -k --until "<date>"

Here is an example of the kernel logs until 07:42:59 on November 28th, 2025:

root@sm2s-imx8nano:~# journalctl -k --until "2025-11-28 07:42:59"
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...

Here is an example of the kernel logs until an hour ago:

root@sm2s-imx8nano:~# journalctl -k --until "1 hour ago"
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...

Logs until a date for the system:#

The system logs until a date can be retrieved using this command:

journalctl --system --until "<date>"

Here is an example of the system logs until 07:42:59 on November 28th, 2025:

root@sm2s-imx8nano:~# journalctl --system --until "2025-11-28 07:42:59"
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: systemd 255.21^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Detected architecture arm64.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Hostname set to <sm2s-imx8nano>.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Using hardware watchdog 'rn5t618-wdt', version 0, device /dev/watchdog0
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Watchdog running with a hardware timeout of 32s.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: /etc/systemd/system/weston.socket.d/weston-socket-simplecore.conf:4: Failed to parse mode value, ignoring:
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Queued start job for default target Graphical Interface.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /session.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/getty.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/modprobe.
...

Here is an example of the system logs until an hour ago:

root@sm2s-imx8nano:~# journalctl --system --until "1 hour ago"
Nov 28 07:42:58 sm2s-imx8nano kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Nov 28 07:42:58 sm2s-imx8nano kernel: Linux version 6.6.23 (oe-user@oe-host) (aarch64-simplecoredistro-linux-gcc (GCC) 13.4.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Fri Mar 21 12:43:10 UTC 2025
Nov 28 07:42:58 sm2s-imx8nano kernel: KASLR enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Machine model: MSC SM2S-IMX8MN
Nov 28 07:42:58 sm2s-imx8nano kernel: earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
Nov 28 07:42:58 sm2s-imx8nano kernel: printk: bootconsole [ec_imx6q0] enabled
Nov 28 07:42:58 sm2s-imx8nano kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 640 MiB
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Nov 28 07:42:58 sm2s-imx8nano kernel: OF: reserved mem: 0x0000000058000000..0x000000007fffffff (655360 KiB) map reusable linux,cma
Nov 28 07:42:58 sm2s-imx8nano kernel: NUMA: No NUMA configuration found
...
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: systemd 255.21^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Detected architecture arm64.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Hostname set to <sm2s-imx8nano>.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Using hardware watchdog 'rn5t618-wdt', version 0, device /dev/watchdog0
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Watchdog running with a hardware timeout of 32s.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: /etc/systemd/system/weston.socket.d/weston-socket-simplecore.conf:4: Failed to parse mode value, ignoring:
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Queued start job for default target Graphical Interface.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /session.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/getty.
Nov 28 07:42:58 sm2s-imx8nano systemd[1]: Created slice Slice /system/modprobe.
...

How to get the logs between two dates#

Logs between dates for a service:#

It is possible to get the logs for a service between two dates using this command:

journalctl -u <service_name> --since "<date>" --until "<date>"

For example, the logs of the service hello_world between 07:58 and 07:59 on November 28th, 2025 can be retrieved using:

root@sm2s-imx8nano:~# journalctl -u hello_world.service --since "2025-11-28 07:58:00" --until "2025-11-28 07:59:00"
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: Started Hello World.
Nov 28 07:58:01 sm2s-imx8nano echo[1203]: Hello World
Nov 28 07:58:01 sm2s-imx8nano systemd[1]: hello_world.service: Deactivated successfully.

Logs between dates for the kernel:#

The kernel logs between two dates can be retrieved using this command:

journalctl -k --since "<date>" --until "<date>"

Here is an example of the kernel logs between 07:43:12 and 07:43:15 on November 28th, 2025:

root@sm2s-imx8nano:~# journalctl -k --since "2025-11-28 07:43:12" --until "2025-11-28 07:43:15"
Nov 28 07:43:12 sm2s-imx8nano kernel: gcmkONERROR: status=-1(gcvSTATUS_INVALID_ARGUMENT) @ gckOS_UnmapMemoryEx(1243)
Nov 28 07:43:13 sm2s-imx8nano kernel: input: auto key device as /devices/virtual/input/input4
Nov 28 07:43:14 sm2s-imx8nano kernel: loop0: detected capacity change from 0 to 51896

Logs between dates for the system:#

The system logs between two dates can be retrieved using this command:

journalctl --system --since "<date>" --until "<date>"

Here is an example of the system logs between 07:44 and 07:55 on November 28th, 2025:

root@sm2s-imx8nano:~# journalctl --system --since "2025-11-28 07:44:00" --until "2025-11-28 07:55:00"
Nov 28 07:45:03 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 46 messages.
Nov 28 07:46:27 sm2s-imx8nano simpleswitch-mqtt-daemon[562]: got /monitor/ip
Nov 28 07:46:27 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:47:49 sm2s-imx8nano simpleswitch-mqtt-daemon[562]: got /monitor/ip
Nov 28 07:47:49 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:49:07 sm2s-imx8nano systemd-logind[566]: New session c2 of user root.
Nov 28 07:49:07 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.
Nov 28 07:49:07 sm2s-imx8nano systemd[1]: Started Session c2 of User root.
Nov 28 07:51:03 sm2s-imx8nano systemd-journald[162]: Forwarding to syslog missed 1 messages.