View Logs With Journalctl

Written by Kevin Gimbel on , 🍿 1 min. read

When running any sort of software on a server there's a high chance you'll find yourself looking at logs to figure out why something isn't working. Logs are usually stored in /var/log/ or sometimes in the application root, e.g. /var/www/html/var/logs or similar for web applications. Finding the right directory for logs can be annoying and tiresome, so today we will look at a another way to view logs on Linux systems: journalctl.

What is journalctl?

Basic usage

Configuration

/etc/systemd/journalctl.conf

Additional resources

  • A
  • B
  • C

Hi, I'm Kevin!

I'm a DevOps Engineer with a passion for on automation and monitoring. Before shifting into DevOps and cloud computing I worked as Front-End Developer, which is still a hobby and field of interest for me.

Picture of Kevin Gimbel, in a tiny mirror

I'm very passionated about a variety of games - digital, boardgames, and pen & paper; and also interested in Sci-Fi, Cyberpunk, and dystopian books. You can find out more on the about page.