<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Log-Management on Linux Security</title><link>https://linuxtransfer.com/tags/log-management/</link><description>Recent content in Log-Management on Linux Security</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 07 Jul 2026 08:58:55 +0200</lastBuildDate><atom:link href="https://linuxtransfer.com/tags/log-management/index.xml" rel="self" type="application/rss+xml"/><item><title>Taming Disk Space Usage with find and xargs in a Busy /var/log Directory</title><link>https://linuxtransfer.com/post/2026-07-07-taming-disk-space-usage-with-find-and-xargs-i/</link><pubDate>Tue, 07 Jul 2026 08:58:55 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-07-07-taming-disk-space-usage-with-find-and-xargs-i/</guid><description>&lt;h2 id="introduction-to-disk-space-management">Introduction to Disk Space Management&lt;/h2>
&lt;p>I&amp;rsquo;ve seen this go wrong when managing a busy &lt;code>/var/log&lt;/code> directory - disk space usage can quickly become a concern. All those logs from various system services, applications, and security tools can accumulate, leading to storage issues if not properly maintained. In practice, this can be a real headache, especially when you&amp;rsquo;re dealing with limited disk space. To avoid this, we can use &lt;code>find&lt;/code> and &lt;code>xargs&lt;/code> to keep the &lt;code>/var/log&lt;/code> directory in check.&lt;/p></description></item><item><title>Taming Disk-Hungry Logs with systemd's Persistent Journal and Log Rotation</title><link>https://linuxtransfer.com/post/2026-06-13-taming-disk-hungry-logs-with-systemds-persist/</link><pubDate>Sat, 13 Jun 2026 11:46:55 +0200</pubDate><guid>https://linuxtransfer.com/post/2026-06-13-taming-disk-hungry-logs-with-systemds-persist/</guid><description>&lt;h2 id="introduction-to-log-management">Introduction to Log Management&lt;/h2>
&lt;p>I&amp;rsquo;ve seen log management become a major headache for many Linux administrators. Logs are essential for diagnosing issues, detecting security threats, and optimizing system performance, but they can grow rapidly and consume significant disk space. In practice, this can lead to performance issues and even system crashes. To avoid this, we can use systemd&amp;rsquo;s persistent journal and log rotation features.&lt;/p>
&lt;h2 id="understanding-systemds-journal">Understanding systemd&amp;rsquo;s Journal&lt;/h2>
&lt;p>Systemd&amp;rsquo;s journal is a centralized logging system that collects log messages from various system components, including systemd services, kernel messages, and application logs. The real trick is to configure it to use persistent storage, so logs aren&amp;rsquo;t lost upon system reboot. By default, the journal stores log messages in a volatile storage area, which isn&amp;rsquo;t very useful for long-term log management.&lt;/p></description></item></channel></rss>