<?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_log</id>
	<title>Ns log - 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_log"/>
	<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Ns_log&amp;action=history"/>
	<updated>2026-04-17T05:17:18Z</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_log&amp;diff=2838&amp;oldid=prev</id>
		<title>WikiSysop: imported from WiKit id 597</title>
		<link rel="alternate" type="text/html" href="https://panoptic.com/mediawiki/aolserver/index.php?title=Ns_log&amp;diff=2838&amp;oldid=prev"/>
		<updated>2005-02-28T12:29:11Z</updated>

		<summary type="html">&lt;p&gt;imported from WiKit id 597&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_log.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
'''NAME'''&lt;br /&gt;
&lt;br /&gt;
: ns_log - Send messages to the server log&lt;br /&gt;
&lt;br /&gt;
'''SYNOPSIS'''&lt;br /&gt;
&lt;br /&gt;
: '''ns_log''' ''severity string ?string ...?''&lt;br /&gt;
&lt;br /&gt;
'''DESCRIPTION'''&lt;br /&gt;
&lt;br /&gt;
: This command sends a messages to the server log with ''severity'' and the one or more ''string'' args concatenated together with a single whitespace separating each arg.&lt;br /&gt;
&lt;br /&gt;
: Note that this only queues messages for the log and does not actually guarantee that the message is immediately written to the log.  The server can be instructed to queue messages in the cache via [[ns_logctl]] '''hold'''.&lt;br /&gt;
&lt;br /&gt;
: Log messages are written to the server log which is the file that is returned from [[ns_info]] '''log'''.&lt;br /&gt;
&lt;br /&gt;
: The following are the acceptable severity levels:&lt;br /&gt;
&lt;br /&gt;
: '''notice''' - Something interesting occurred.&lt;br /&gt;
&lt;br /&gt;
: '''warning''' - Something  that  could  mean  something  bad occurred.&lt;br /&gt;
&lt;br /&gt;
: '''error''' - Something bad occurred.&lt;br /&gt;
&lt;br /&gt;
: '''fatal''' -  Something extremely bad occurred. The server will generally shut down after logging the message.&lt;br /&gt;
&lt;br /&gt;
: '''bug'''  - Something occurred that implies that there is a bug in the code.&lt;br /&gt;
&lt;br /&gt;
: '''debug''' - If the server is in Debug  mode,  the  message  is printed.  Debug  mode  is specified in the [ns/parameters] section of the configuration file. Otherwise, the  message is not printed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''EXAMPLES'''&lt;br /&gt;
&lt;br /&gt;
    # note that the log message is one single arg&lt;br /&gt;
    % ns_log notice &amp;quot;this is a test&amp;quot;&lt;br /&gt;
&lt;br /&gt;
    # note that each word is a separate arg to ns_log&lt;br /&gt;
    % ns_log error this is an example error log string&lt;br /&gt;
&lt;br /&gt;
'''SEE ALSO'''&lt;br /&gt;
&lt;br /&gt;
: [[ns_info]] log, [[ns_logctl]], [[ns_logroll]]&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>