<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5763&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Logrotate on Daedalus]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5763</link>
		<description><![CDATA[The most recent posts in Logrotate on Daedalus.]]></description>
		<lastBuildDate>Fri, 30 Jun 2023 18:45:43 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Logrotate on Daedalus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42718#p42718</link>
			<description><![CDATA[<p>Thanks, that did the job. Did run the command on Tuesday, can&#039;t remember what the output was (may be none?), too many things going on here. When checking today I saw that all logs referenced in the conf have new date stamps and are much smaller now. </p><p>Maybe I will add that to my cron jobs to be run on each first day of the month.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Fri, 30 Jun 2023 18:45:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42718#p42718</guid>
		</item>
		<item>
			<title><![CDATA[Re: Logrotate on Daedalus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42685#p42685</link>
			<description><![CDATA[<p>You could try &quot;logrotate -dv /etc/logrotate.conf&quot; to see what it says about syslog.&#160; I rotate that group monthly so my output is </p><div class="codebox"><pre><code>rotating pattern: /var/log/syslog
/var/log/mail.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/cron.log
 monthly (12 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/syslog
  Now: 2023-06-27 15:08
  Last rotated at 2023-06-01 03:13
  log does not need rotating (log has been rotated at 2023-06-01 03:13, which is less than a month ago)
. . .</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (User479)]]></author>
			<pubDate>Tue, 27 Jun 2023 20:13:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42685#p42685</guid>
		</item>
		<item>
			<title><![CDATA[Re: Logrotate on Daedalus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42682#p42682</link>
			<description><![CDATA[<p>There are some changes to how logging works in Bookworm mentioned in the release notes, see sections 5.17-5.19. </p><p>It&#039;s not clear how these changes propagate through to Daedalus when it&#039;s either a new install (as I surmise yours was originally) or if you upgrade from Chimaera.</p><p><a href="https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.en.html#changes-to-system-logging" rel="nofollow">https://www.debian.org/releases/bookwor … em-logging</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Marjorie)]]></author>
			<pubDate>Tue, 27 Jun 2023 18:58:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42682#p42682</guid>
		</item>
		<item>
			<title><![CDATA[Re: Logrotate on Daedalus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42680#p42680</link>
			<description><![CDATA[<p>Yes, cron is installed and working. I am using it for startup cron job @reboot. There is the logrotate entry in /etc/cron.daily.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 27 Jun 2023 17:40:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42680#p42680</guid>
		</item>
		<item>
			<title><![CDATA[Re: Logrotate on Daedalus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42676#p42676</link>
			<description><![CDATA[<p>Do you at least have cron installed?&#160; Do you have /etc/cron.daily/logrotate?</p>]]></description>
			<author><![CDATA[dummy@example.com (User479)]]></author>
			<pubDate>Tue, 27 Jun 2023 14:21:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42676#p42676</guid>
		</item>
		<item>
			<title><![CDATA[Logrotate on Daedalus]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=42654#p42654</link>
			<description><![CDATA[<p>Got Daedalus installed on my main workstation in November last year. netinstall, encrypted, efi mode, openrc, Cinnamon as desktop.</p><p>Since then the syslog file has increased to about 60MByte. When opening the logviewer, I see all info from the time of installation being present. logrotate is installed, I see a script called rsyslog in /etc/logrotate.d that asks for a weekly rotation. </p><div class="codebox"><pre><code>/var/log/syslog
/var/log/mail.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/cron.log
{
	rotate 4
	weekly
	missingok
	notifempty
	compress
	delaycompress
	sharedscripts
	postrotate
		/usr/lib/rsyslog/rsyslog-rotate
	endscript
}</code></pre></div><p>In /var/log the boot and the dmesg are moved once a day. auth.log and user.log also aren&#039;t being rotated. What may be wrong here?</p><p>Edith: anacron isn&#039;t installed.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sun, 25 Jun 2023 15:21:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=42654#p42654</guid>
		</item>
	</channel>
</rss>
