<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Creating_logs_from_the_command_line</id>
	<title>Creating logs from the command line - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Creating_logs_from_the_command_line"/>
	<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Creating_logs_from_the_command_line&amp;action=history"/>
	<updated>2026-06-07T15:38:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://rivendellaudio.wiki/index.php?title=Creating_logs_from_the_command_line&amp;diff=29249&amp;oldid=prev</id>
		<title>imported&gt;ImportBot: Imported from scrape</title>
		<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Creating_logs_from_the_command_line&amp;diff=29249&amp;oldid=prev"/>
		<updated>2026-05-09T15:18:54Z</updated>

		<summary type="html">&lt;p&gt;Imported from scrape&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:18, 9 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l47&quot;&gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;PRE&amp;gt; RN DISPLAY=:0.0 rdlogmanager -g -s SERVICE -d 1! &amp;lt;/PRE&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;PRE&amp;gt; RN DISPLAY=:0.0 rdlogmanager -g -s SERVICE -d 1! &amp;lt;/PRE&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This executes rdlogmanager on the default display under the permission of rdcatchd deamon. That is to say if the user that runs rdcatchd and the user that runs your xorg server are different, don&amp;#039;t expect this work. Now just schedule that cart to run every day in rdcatch.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This executes rdlogmanager on the default display under the permission of rdcatchd deamon. That is to say if the user that runs rdcatchd and the user that runs your xorg server are different, don&amp;#039;t expect this work. Now just schedule that cart to run every day in rdcatch.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawikidb:diff:1.41:old-28776:rev-29249:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;ImportBot</name></author>
	</entry>
	<entry>
		<id>https://rivendellaudio.wiki/index.php?title=Creating_logs_from_the_command_line&amp;diff=28776&amp;oldid=prev</id>
		<title>imported&gt;WaybackImport: Imported from Wayback via edit</title>
		<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Creating_logs_from_the_command_line&amp;diff=28776&amp;oldid=prev"/>
		<updated>2020-08-05T11:02:40Z</updated>

		<summary type="html">&lt;p&gt;Imported from Wayback via edit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Creating logs from the command line ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Stefan wrote on about January 24th&lt;br /&gt;
&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; For a highly automated station here in Germany I have also add command&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; line switches to rdlogmanager to make log generation batchable.&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; -g  generate log&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; -m  merge music&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; -t  merge traffic&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; -s Service&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; -d day  The day the log should created for counted from today. Default&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; is 1 (create a log for tomorrow).&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; The -s switch is allways needed, also at least one of -g -m or -t&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; To generate a log for tomorrow for service &amp;quot;OnAir&amp;quot; the command would be:&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; rdlogmanager -g -s OnAir&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; To generate and merge a log for Sunday on Friday:&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; rdlogmanager -g -m -t -s OnAir -d 2&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt;&lt;br /&gt;
&amp;gt; &amp;gt;&amp;gt; Stefan&lt;br /&gt;
&lt;br /&gt;
To let rdlogmanager run without trying to connect to a display (useful for cronjobs):&lt;br /&gt;
DISPLAY=:0 rdlogmanager ...&lt;br /&gt;
&lt;br /&gt;
Example&lt;br /&gt;
My crontab entry is:&lt;br /&gt;
30 01 * * * /home/.../sustainLogGen.sh&lt;br /&gt;
My sustainLogGen.sh is:&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
export DISPLAY=:0.0&lt;br /&gt;
/usr/bin/rdlogmanager -g -s Production -d 3&lt;br /&gt;
exit 0&lt;br /&gt;
&lt;br /&gt;
Be sure to run (as rduser and logged into X)...&lt;br /&gt;
xhost +localhost&lt;br /&gt;
... which will let any process on the local machine connect to your display.&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
== Log Creation With Rdcatch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you would rather the rdcatch daemon make logs&lt;br /&gt;
create a macro cart with a line like this:&lt;br /&gt;
&amp;lt;PRE&amp;gt; RN DISPLAY=:0.0 rdlogmanager -g -s SERVICE -d 1! &amp;lt;/PRE&amp;gt;&lt;br /&gt;
This executes rdlogmanager on the default display under the permission of rdcatchd deamon. That is to say if the user that runs rdcatchd and the user that runs your xorg server are different, don&amp;#039;t expect this work. Now just schedule that cart to run every day in rdcatch.&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;WaybackImport</name></author>
	</entry>
</feed>