Skip to main content

DevOps

10 articles available

Server administration and DevOps guides - log file locations, service troubleshooting, and infrastructure operations for Linux, Docker, and Windows

Where Are Apache Logs Stored? Default Paths (Ubuntu, CentOS, Docker)

beginner

Find Apache error and access logs at /var/log/apache2/ on Debian or /var/log/httpd/ on RHEL. Exact paths for Ubuntu, CentOS, Docker, macOS, plus tailing and rotation.

8 minUpdated June 2026
Read Article

Where Are Cron Logs Stored? How to Check Cron Job Logs (Ubuntu, CentOS)

beginner

Cron logs to /var/log/syslog on Ubuntu/Debian and /var/log/cron on RHEL/CentOS. See exact paths, grep CRON commands, and how to capture an individual job's output.

8 minUpdated June 2026
Read Article

Where Are Docker Container Logs Stored? Default Paths (Linux, Docker Desktop)

intermediate

Docker container logs live at /var/lib/docker/containers/<id>/<id>-json.log with the json-file driver. Exact paths for Linux, Docker Desktop, and how to read, rotate, and ship them.

9 minUpdated June 2026
Read Article

Where Are IIS Logs Stored? IIS Log File Location Explained (Windows)

beginner

IIS logs to C:\inetpub\logs\LogFiles\W3SVC<siteID>\ by default. HTTP.sys errors go to C:\Windows\System32\LogFiles\HTTPERR\. Find the exact path per site in IIS Manager, plus PowerShell and Failed Request Tracing.

9 minUpdated June 2026
Read Article

Where Are Linux System Logs Stored? /var/log Explained (Ubuntu, RHEL)

beginner

Linux system logs live in /var/log. Ubuntu/Debian write to /var/log/syslog and /var/log/auth.log; RHEL/CentOS use /var/log/messages and /var/log/secure. Exact paths, tail commands, and rotation below.

9 minUpdated June 2026
Read Article

Where Are MySQL Logs Stored? Default Paths (Ubuntu, CentOS, Docker)

intermediate

MySQL error log lives at /var/log/mysql/error.log on Debian or /var/log/mysqld.log on RHEL. Find the exact path with SHOW VARIABLES LIKE 'log_error', plus how to tail, enable, and rotate logs.

9 minUpdated June 2026
Read Article

Where Are Nginx Logs Stored? Default Paths (Ubuntu, CentOS, Docker)

beginner

Find nginx access and error logs at /var/log/nginx/. Exact paths for Ubuntu, Debian, CentOS, Docker, and macOS, plus how to tail and rotate them.

8 minUpdated June 2026
Read Article

Where Are PM2 Logs Stored? PM2 Log File Location Explained

beginner

PM2 stores logs in ~/.pm2/logs/ as <app>-out.log and <app>-error.log, plus a daemon log at ~/.pm2/pm2.log. View them with pm2 logs, find paths with pm2 info, and clear with pm2 flush.

8 minUpdated June 2026
Read Article

Where Are PostgreSQL Logs Stored? Default Paths (Ubuntu, CentOS, Docker)

intermediate

PostgreSQL logs live at /var/log/postgresql/ on Debian, or in the data directory's log/ folder on RHEL. Find the exact path with SHOW data_directory and log_directory, plus how to tail and rotate.

9 minUpdated June 2026
Read Article

Where Are systemd journald Logs Stored? journalctl Log Location Explained

beginner

systemd-journald stores logs in /var/log/journal/ when persistent, or /run/log/journal/ when volatile (lost on reboot). Read them with journalctl, check size with journalctl --disk-usage.

9 minUpdated June 2026
Read Article