# Where the /¤"# is /var/log/syslog in Debian 12?

**URL:** <https://forum.meshat.se/t/where-the-is-var-log-syslog-in-debian-12/125>\
**Category:** Bloggar\
**Tags:** linux\
**Created:** [16 Juni 2023 09:59 UTC](https://forum.meshat.se/t/where-the-is-var-log-syslog-in-debian-12/125 "2023-06-16T09:59:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![selea](https://forum.meshat.se/user_avatar/forum.meshat.se/selea/32/16_2.png) [@selea](https://forum.meshat.se/u/selea)\
**Post date:** [16 Juni 2023 09:59 UTC](https://forum.meshat.se/t/where-the-is-var-log-syslog-in-debian-12/125/1 "2023-06-16T09:59:02Z")

</div>

#### Imagine my suprise when I could not tail the syslog anymore..

Debian 12 has moved the syslog to journalctl. So just run `journalctl -f` and you will be greeted with the logs running throu the screen :)

If you want to check the logs from for example apache:

`journalctl -u apache2.service`

If you want to format the logs as json, just append `o json-pretty`

#linux #debian #logging

* * *
Detta är ett kopplat diskussionsämne till det ursprungliga inlägget på [https://blogs.linux.pizza/where-the-is-var-log-syslog-in-debian-12](https://blogs.linux.pizza/where-the-is-var-log-syslog-in-debian-12)
