Tag

syslog

0 views collected around this technical thread.

Raymond Ops
Raymond Ops
Apr 23, 2025 · Operations

Master Linux Syslog: Configure, Manage, and Rotate Logs Like a Pro

This guide explains how Linux syslog collects system messages, details common log files and their purposes, describes syslogd, klogd, and logrotate services, shows log formats, configuration syntax, and provides step‑by‑step examples for setting up both log receivers and senders.

LoggingRHELSystem Administration
0 likes · 16 min read
Master Linux Syslog: Configure, Manage, and Rotate Logs Like a Pro
Raymond Ops
Raymond Ops
Apr 8, 2025 · Operations

How to Log Dropped iptables Packets for Input and Output Traffic

Learn step‑by‑step how to configure iptables to log all dropped inbound and outbound packets to syslog, including creating a LOGGING chain, setting rate limits, customizing log prefixes, directing logs to a specific file, and interpreting the resulting log entries.

Loggingfirewalliptables
0 likes · 7 min read
How to Log Dropped iptables Packets for Input and Output Traffic
Practical DevOps Architecture
Practical DevOps Architecture
May 11, 2024 · Operations

Linux Log Backup Script with Automated Cleanup and Cron Scheduling

This article presents a Bash script that backs up Linux system log directories, removes backups older than a configurable number of days, compresses the daily logs, and sets up a daily cron job to automate the entire process.

AutomationBackupCron
0 likes · 4 min read
Linux Log Backup Script with Automated Cleanup and Cron Scheduling
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 27, 2016 · Cloud Native

Why Does rsyslog Fail Inside Docker? Uncovering Common Logging Pitfalls

This article walks through a real‑world Docker logging issue, detailing how syslog and rsyslog behave inside a CentOS 7 container, the failed attempts to fix it, and the eventual discovery of missing /dev/log socket and permission constraints.

Container LoggingDockerTroubleshooting
0 likes · 9 min read
Why Does rsyslog Fail Inside Docker? Uncovering Common Logging Pitfalls