<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://panoptic.com/mediawiki/aolserver/index.php?action=history&amp;feed=atom&amp;title=Ns_logroll</id>
	<title>Ns logroll - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://panoptic.com/mediawiki/aolserver/index.php?action=history&amp;feed=atom&amp;title=Ns_logroll"/>
	<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Ns_logroll&amp;action=history"/>
	<updated>2026-04-17T03:39:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=Ns_logroll&amp;diff=4703&amp;oldid=prev</id>
		<title>71.214.77.117: fix possibel error?</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Ns_logroll&amp;diff=4703&amp;oldid=prev"/>
		<updated>2006-01-13T17:46:00Z</updated>

		<summary type="html">&lt;p&gt;fix possibel error?&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 17:46, 13 January 2006&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-l15&quot; &gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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 command rolls the server log.  The server log is the file returned from '''ns_info log''' and is configured through the &amp;quot;serverlog&amp;quot; parameter in the &amp;quot;ns/parameters&amp;quot; section.  The default is the file &amp;quot;log/server.log&amp;quot; in the AOLserver home directory.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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 command rolls the server log.  The server log is the file returned from '''ns_info log''' and is configured through the &amp;quot;serverlog&amp;quot; parameter in the &amp;quot;ns/parameters&amp;quot; section.  The default is the file &amp;quot;log/server.log&amp;quot; in the AOLserver home directory.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;: The number of backup log files to keep is controlled by the server configuration parameter &amp;quot;logmaxbackup&amp;quot; in the &amp;quot;ns/parameters&amp;quot; section.  &amp;quot;logmaxbackup&amp;quot; must be greater than or equal to zero and less than 1000.  (Note: The source emits an error message that disagrees with the code in nsd/rollfile.c on lines 82--84.)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: The number of backup log files to keep is controlled by the server configuration parameter &amp;quot;logmaxbackup&amp;quot; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(I believe this is incorrect -- I believe it is maxbackup not logmaxbackup -jfr) &lt;/ins&gt;in the &amp;quot;ns/parameters&amp;quot; section.  &amp;quot;logmaxbackup&amp;quot; must be greater than or equal to zero and less than 1000.  (Note: The source emits an error message that disagrees with the code in nsd/rollfile.c on lines 82--84.)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;: Backup files are created by testing for the existance of the filename and the backup number (i.e., &amp;quot;.012&amp;quot;) appended.  If the file representing the max backup count exists, it's deleted.  Then, all files are renamed to their next higher filename.  Then, the log file is renamed to &amp;quot;filename.000&amp;quot;.  A new log file is then created and opened to be used as the new log file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;: Backup files are created by testing for the existance of the filename and the backup number (i.e., &amp;quot;.012&amp;quot;) appended.  If the file representing the max backup count exists, it's deleted.  Then, all files are renamed to their next higher filename.  Then, the log file is renamed to &amp;quot;filename.000&amp;quot;.  A new log file is then created and opened to be used as the new log file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>71.214.77.117</name></author>
		
	</entry>
	<entry>
		<id>https://panoptic.com/mediawiki/aolserver/index.php?title=Ns_logroll&amp;diff=2687&amp;oldid=prev</id>
		<title>WikiSysop: imported from WiKit id 397</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Ns_logroll&amp;diff=2687&amp;oldid=prev"/>
		<updated>2004-06-15T22:01:48Z</updated>

		<summary type="html">&lt;p&gt;imported from WiKit id 397&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Man page: http://aolserver.com/docs/tcl/ns_logroll.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''NAME'''&lt;br /&gt;
&lt;br /&gt;
: ns_logroll - Roll the server log&lt;br /&gt;
&lt;br /&gt;
'''SYNOPSIS'''&lt;br /&gt;
&lt;br /&gt;
: '''ns_logroll'''&lt;br /&gt;
&lt;br /&gt;
'''DESCRIPTION'''&lt;br /&gt;
&lt;br /&gt;
: This command rolls the server log.  The server log is the file returned from '''ns_info log''' and is configured through the &amp;quot;serverlog&amp;quot; parameter in the &amp;quot;ns/parameters&amp;quot; section.  The default is the file &amp;quot;log/server.log&amp;quot; in the AOLserver home directory.&lt;br /&gt;
&lt;br /&gt;
: The number of backup log files to keep is controlled by the server configuration parameter &amp;quot;logmaxbackup&amp;quot; in the &amp;quot;ns/parameters&amp;quot; section.  &amp;quot;logmaxbackup&amp;quot; must be greater than or equal to zero and less than 1000.  (Note: The source emits an error message that disagrees with the code in nsd/rollfile.c on lines 82--84.)&lt;br /&gt;
&lt;br /&gt;
: Backup files are created by testing for the existance of the filename and the backup number (i.e., &amp;quot;.012&amp;quot;) appended.  If the file representing the max backup count exists, it's deleted.  Then, all files are renamed to their next higher filename.  Then, the log file is renamed to &amp;quot;filename.000&amp;quot;.  A new log file is then created and opened to be used as the new log file.&lt;br /&gt;
&lt;br /&gt;
: This command's effect can also be triggered by sending the server a SIGHUP signal as well.&lt;br /&gt;
&lt;br /&gt;
'''EXAMPLES'''&lt;br /&gt;
&lt;br /&gt;
    % ns_logroll&lt;br /&gt;
&lt;br /&gt;
    # server.log is now rolled&lt;br /&gt;
&lt;br /&gt;
'''SEE ALSO'''&lt;br /&gt;
&lt;br /&gt;
: [[ns_info]] log, [[ns_log]], [[ns_logctl]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[Category Documentation]] - [[Category Core Tcl API]]&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
</feed>