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)
beginnerFind 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.
Where Are Cron Logs Stored? How to Check Cron Job Logs (Ubuntu, CentOS)
beginnerCron 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.
Where Are Docker Container Logs Stored? Default Paths (Linux, Docker Desktop)
intermediateDocker 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.
Where Are IIS Logs Stored? IIS Log File Location Explained (Windows)
beginnerIIS 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.
Where Are Linux System Logs Stored? /var/log Explained (Ubuntu, RHEL)
beginnerLinux 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.
Where Are MySQL Logs Stored? Default Paths (Ubuntu, CentOS, Docker)
intermediateMySQL 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.
Where Are Nginx Logs Stored? Default Paths (Ubuntu, CentOS, Docker)
beginnerFind 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.
Where Are PM2 Logs Stored? PM2 Log File Location Explained
beginnerPM2 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.
Where Are PostgreSQL Logs Stored? Default Paths (Ubuntu, CentOS, Docker)
intermediatePostgreSQL 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.
Where Are systemd journald Logs Stored? journalctl Log Location Explained
beginnersystemd-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.