<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ASL: Logging to a file</title>
	<atom:link href="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/feed" rel="self" type="application/rss+xml" />
	<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file</link>
	<description>The personal weblog of Peter Hosey.</description>
	<lastBuildDate>Tue, 17 Jan 2012 18:19:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Bill</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-512770</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Tue, 17 Jan 2012 18:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-512770</guid>
		<description>Yeah, I\&#039;m just now finding that this behavior is still present in Lion. It would seem that only NSLog() can put messages into ASL console log such that you can see them using Console.app\&#039;s \&quot;All Messages\&quot;.

I guess this keeps naive asl(3) users from shooting themselves in the foot, flooding the system log with all kinds of fluff and such.

If you want your app to have searchable entries in ASL, it seems that you have to edit /etc/asl.conf setting up a rule to create an individual store for your app.

Using the code below, I couldn\&#039;t get any ASL-generated log messages to appear in the console log as viewed via Console.app. Didn\&#039;t matter what severity level I chose.


#include 
#import 

int main (int argc, const char * argv[])
{
    aslclient asl = asl_open(NULL, \&quot;com.apple.console\&quot;, ASL_OPT_STDERR &#124; ASL_OPT_NO_REMOTE &#124; ASL_OPT_NO_DELAY);
    if (asl == NULL)
    {
        fprintf(stderr, \&quot;%s\&quot;, \&quot;Can\&#039;t open a connection to ASL\&quot;);
        return -1;
    }
    
    asl_log(asl, NULL, ASL_LEVEL_WARNING, \&quot;Supercalifragilisticexpialidocious\&quot;);
    asl_log(asl, NULL, ASL_LEVEL_NOTICE, \&quot;Supercalifragilisticexpialidocious\&quot;);
    asl_log(asl, NULL, ASL_LEVEL_ALERT, \&quot;Supercalifragilisticexpialidocious\&quot;);
    asl_log(asl, NULL, ASL_LEVEL_ERR, \&quot;Supercalifragilisticexpialidocious\&quot;);

    asl_close(asl);
}</description>
		<content:encoded><![CDATA[<p>Yeah, I\&#8217;m just now finding that this behavior is still present in Lion. It would seem that only NSLog() can put messages into ASL console log such that you can see them using Console.app\&#8217;s \&#8221;All Messages\&#8221;.</p>
<p>I guess this keeps naive asl(3) users from shooting themselves in the foot, flooding the system log with all kinds of fluff and such.</p>
<p>If you want your app to have searchable entries in ASL, it seems that you have to edit /etc/asl.conf setting up a rule to create an individual store for your app.</p>
<p>Using the code below, I couldn\&#8217;t get any ASL-generated log messages to appear in the console log as viewed via Console.app. Didn\&#8217;t matter what severity level I chose.</p>
<p>#include<br />
#import </p>
<p>int main (int argc, const char * argv[])<br />
{<br />
    aslclient asl = asl_open(NULL, \&#8221;com.apple.console\&#8221;, ASL_OPT_STDERR | ASL_OPT_NO_REMOTE | ASL_OPT_NO_DELAY);<br />
    if (asl == NULL)<br />
    {<br />
        fprintf(stderr, \&#8221;%s\&#8221;, \&#8221;Can\&#8217;t open a connection to ASL\&#8221;);<br />
        return -1;<br />
    }</p>
<p>    asl_log(asl, NULL, ASL_LEVEL_WARNING, \&#8221;Supercalifragilisticexpialidocious\&#8221;);<br />
    asl_log(asl, NULL, ASL_LEVEL_NOTICE, \&#8221;Supercalifragilisticexpialidocious\&#8221;);<br />
    asl_log(asl, NULL, ASL_LEVEL_ALERT, \&#8221;Supercalifragilisticexpialidocious\&#8221;);<br />
    asl_log(asl, NULL, ASL_LEVEL_ERR, \&#8221;Supercalifragilisticexpialidocious\&#8221;);</p>
<p>    asl_close(asl);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-272168</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Mon, 27 Apr 2009 07:29:22 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-272168</guid>
		<description>The Console Messages query is the successor to the old console.log file in Mac OS X before Leopard. Before, NSLog output went to console.log; now, it goes into ASL with a facility of “com.apple.console”, which is what the Console Messages query looks for.

Previously, writing to /dev/console (or, in an Aqua app, stdout or stderr) would also make messages appear in the appropriate place, but this doesn&#039;t seem to work under Leopard. I should report that as a bug.

I don&#039;t know anything about things that other UNIX operating systems call a “console”, so I can&#039;t speak of any similarities that Apple&#039;s Console app, Console Messages query, or console device may have to it.</description>
		<content:encoded><![CDATA[<p>The Console Messages query is the successor to the old console.log file in Mac OS X before Leopard. Before, NSLog output went to console.log; now, it goes into ASL with a facility of “com.apple.console”, which is what the Console Messages query looks for.</p>
<p>Previously, writing to /dev/console (or, in an Aqua app, stdout or stderr) would also make messages appear in the appropriate place, but this doesn&#8217;t seem to work under Leopard. I should report that as a bug.</p>
<p>I don&#8217;t know anything about things that other UNIX operating systems call a “console”, so I can&#8217;t speak of any similarities that Apple&#8217;s Console app, Console Messages query, or console device may have to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-272147</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 27 Apr 2009 04:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-272147</guid>
		<description>Thanks to your help, the mist is slowly clearing for me. One last question is what are \&quot;Console messages\&quot; for? In the old days a multi-user UNIX system had an actual console. Now that seems a bit redundant. Should we think of this as really important messages or something?</description>
		<content:encoded><![CDATA[<p>Thanks to your help, the mist is slowly clearing for me. One last question is what are \&#8221;Console messages\&#8221; for? In the old days a multi-user UNIX system had an actual console. Now that seems a bit redundant. Should we think of this as really important messages or something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-271238</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Fri, 24 Apr 2009 13:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-271238</guid>
		<description>&lt;p&gt;That explains it, right there. See &lt;a href=&quot;x-man-page://8/syslogd&quot; rel=&quot;nofollow&quot;&gt;the syslogd manpage&lt;/a&gt;, which says:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The default filter will retain messages in the range 0 (Emergency) to 5 (Notice) inclusive.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info is the second-lowest level—number 6. (Debug is the lowest, at 7.)&lt;/p&gt;

&lt;p&gt;I mentioned this in &lt;a href=&quot;http://boredzo.org/blog/archives/2008-01-21/asl-client-connections&quot; rel=&quot;nofollow&quot;&gt;“Client connections”&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;The default filter mask of every connection, according to asl.h, is &lt;code&gt;ASL_FILTER_MASK_UPTO(ASL_LEVEL_NOTICE)&lt;/code&gt;; i.e., everything but &lt;code&gt;ASL_LEVEL_INFO&lt;/code&gt; and &lt;code&gt;ASL_LEVEL_DEBUG&lt;/code&gt;.&lt;/p&gt;&lt;/blockquote&gt;

&lt;blockquote&gt;&lt;p&gt;What does come out in All Messages are calls to NSLog apparently.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Those are also under Console Messages, as NSLog uses the Console facility. (Again, see “Client connections”.)&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;I wonder why I have log files from dozens of apps in ~/Library/Logs if this database thingy works and is a good idea.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Several reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Not everyone knows about ASL. Apple hasn&#039;t made a very big deal about its existence; indeed, this series of posts is the most anyone&#039;s written about it, including Apple.&lt;/li&gt;
&lt;li&gt;Even those who know about it may not have tried to actually use it directly, since NSLog works just fine. We Cocoa programmers are lazy. ☺&lt;/li&gt;
&lt;li&gt;ASL didn&#039;t always exist. Old code uses log files because the alternative was syslog, which did the same thing—except that syslog used one log file for all processes. At least with your own log file, you didn&#039;t have to go sifting through that one common log file to find your application&#039;s messages. (Not a problem anymore: If you use ASL, syslog, or NSLog, you can save a database query in the Console&#039;s sidebar to easily obtain your app&#039;s messages.)&lt;/li&gt;
&lt;li&gt;Cross-platform programmers may not want to write code that depends on an API that only exists on one platform. For these programmers, extra functionality on one platform is a burden because that functionality, by definition of the word &lt;em&gt;extra&lt;/em&gt;, doesn&#039;t exist on other platforms.&lt;/li&gt;
&lt;/ol&gt;

</description>
		<content:encoded><![CDATA[<p>That explains it, right there. See <a href="x-man-page://8/syslogd" rel="nofollow">the syslogd manpage</a>, which says:</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>The default filter will retain messages in the range 0 (Emergency) to 5 (Notice) inclusive.</p>
</blockquote>
<p>Info is the second-lowest level—number 6. (Debug is the lowest, at 7.)</p>
<p>I mentioned this in <a href="http://boredzo.org/blog/archives/2008-01-21/asl-client-connections" rel="nofollow">“Client connections”</a>:</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>The default filter mask of every connection, according to asl.h, is <code>ASL_FILTER_MASK_UPTO(ASL_LEVEL_NOTICE)</code>; i.e., everything but <code>ASL_LEVEL_INFO</code> and <code>ASL_LEVEL_DEBUG</code>.</p>
</blockquote>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>What does come out in All Messages are calls to NSLog apparently.</p>
</blockquote>
<p>Those are also under Console Messages, as NSLog uses the Console facility. (Again, see “Client connections”.)</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>I wonder why I have log files from dozens of apps in ~/Library/Logs if this database thingy works and is a good idea.</p>
</blockquote>
<p>Several reasons:</p>
<ol>
<li>Not everyone knows about ASL. Apple hasn&#8217;t made a very big deal about its existence; indeed, this series of posts is the most anyone&#8217;s written about it, including Apple.</li>
<li>Even those who know about it may not have tried to actually use it directly, since NSLog works just fine. We Cocoa programmers are lazy. ☺</li>
<li>ASL didn&#8217;t always exist. Old code uses log files because the alternative was syslog, which did the same thing—except that syslog used one log file for all processes. At least with your own log file, you didn&#8217;t have to go sifting through that one common log file to find your application&#8217;s messages. (Not a problem anymore: If you use ASL, syslog, or NSLog, you can save a database query in the Console&#8217;s sidebar to easily obtain your app&#8217;s messages.)</li>
<li>Cross-platform programmers may not want to write code that depends on an API that only exists on one platform. For these programmers, extra functionality on one platform is a burden because that functionality, by definition of the word <em>extra</em>, doesn&#8217;t exist on other platforms.</li>
</ol>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-271225</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 24 Apr 2009 12:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-271225</guid>
		<description>Well, I write this program:
&lt;pre&gt;#import &lt;asl.h&gt;
int main(int argc, char const *argv[]) {
    asl_log(NULL, NULL, ASL_LEVEL_INFO, &quot;Supercalifragilisticexpialidocious&quot;);
}
&lt;/pre&gt;

run it, then I open Console.app, click on All Messages, and it isn&#039;t there. If I search on Supercalifragilisticexpialidocious, it isn&#039;t there.

I wrote some Cocoa classes that open a file in ~/Library/Logs and connect that to the asl_log, and those come out in the file, but not in the All Messages of Console. What does come out in All Messages are calls to NSLog apparently.

I wonder why I have log files from dozens of apps in ~/Library/Logs if this database thingy works and is a good idea. I can&#039;t see much from other apps turning up in All Messages.</description>
		<content:encoded><![CDATA[<p>Well, I write this program:</p>
<pre>#import &lt;asl.h&gt;
int main(int argc, char const *argv[]) {
    asl_log(NULL, NULL, ASL_LEVEL_INFO, "Supercalifragilisticexpialidocious");
}
</pre>
<p>run it, then I open Console.app, click on All Messages, and it isn&#8217;t there. If I search on Supercalifragilisticexpialidocious, it isn&#8217;t there.</p>
<p>I wrote some Cocoa classes that open a file in ~/Library/Logs and connect that to the asl_log, and those come out in the file, but not in the All Messages of Console. What does come out in All Messages are calls to NSLog apparently.</p>
<p>I wonder why I have log files from dozens of apps in ~/Library/Logs if this database thingy works and is a good idea. I can&#8217;t see much from other apps turning up in All Messages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-270825</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Thu, 23 Apr 2009 09:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-270825</guid>
		<description>&lt;blockquote&gt;… are these log messages visible outside of you writing your own code to search them?&lt;/blockquote&gt;

They&#039;re only accessible through the ASL API, which Console (in Leopard) is a GUI on top of.

&lt;blockquote&gt;I was expecting them to turn up somewhere in Console.app since that seems to show logs from all manner of applications, …&lt;/blockquote&gt;

They should.

&lt;blockquote&gt;… but nothing appeared until I opened my own file in ~/Library/Logs and logged to that.&lt;/blockquote&gt;

You probably searched incorrectly. If you logged it with a facility other than com.apple.console, it won&#039;t show under “Console Messages”; you&#039;ll need to switch to “All Messages”, or a custom query tailored to find your messages. If you did use a custom query, either you constructed it incorrectly or you&#039;ve found a bug in ASL.

&lt;blockquote&gt;It seems rather odd to me that there is a standard logging library that squirrels it away in an unknown place with no standard application that can access them.&lt;/blockquote&gt;

Console is that standard application.

&lt;blockquote&gt;And what of log cycling? Am I supposed to take some action to stop logs growing forever?&lt;/blockquote&gt;

No; by default, syslogd will automatically delete messages older than 24 hours. See &lt;a href=&quot;http://boredzo.org/blog/archives/2008-01-25/asl-undocumented-keys&quot; rel=&quot;nofollow&quot;&gt;undocumented keys&lt;/a&gt;.

&lt;blockquote&gt;Implementation detail or not, I&#039;m curious where they end up on Leopard.&lt;/blockquote&gt;

As of 10.5.6, /var/log/asl.db. But don&#039;t ever rely on that in shipping code.</description>
		<content:encoded><![CDATA[<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>… are these log messages visible outside of you writing your own code to search them?</p>
</blockquote>
<p>They&#8217;re only accessible through the ASL API, which Console (in Leopard) is a GUI on top of.</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>I was expecting them to turn up somewhere in Console.app since that seems to show logs from all manner of applications, …</p>
</blockquote>
<p>They should.</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>… but nothing appeared until I opened my own file in ~/Library/Logs and logged to that.</p>
</blockquote>
<p>You probably searched incorrectly. If you logged it with a facility other than com.apple.console, it won&#8217;t show under “Console Messages”; you&#8217;ll need to switch to “All Messages”, or a custom query tailored to find your messages. If you did use a custom query, either you constructed it incorrectly or you&#8217;ve found a bug in ASL.</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>It seems rather odd to me that there is a standard logging library that squirrels it away in an unknown place with no standard application that can access them.</p>
</blockquote>
<p>Console is that standard application.</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>And what of log cycling? Am I supposed to take some action to stop logs growing forever?</p>
</blockquote>
<p>No; by default, syslogd will automatically delete messages older than 24 hours. See <a href="http://boredzo.org/blog/archives/2008-01-25/asl-undocumented-keys" rel="nofollow">undocumented keys</a>.</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>Implementation detail or not, I&#8217;m curious where they end up on Leopard.</p>
</blockquote>
<p>As of 10.5.6, /var/log/asl.db. But don&#8217;t ever rely on that in shipping code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-270822</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 23 Apr 2009 09:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-270822</guid>
		<description>Okaayy... but are these log messages visible outside of you writing your own code to search them? I was expecting them to turn up somewhere in Console.app since that seems to show logs from all manner of applications, but nothing appeared until I opened my own file in ~/Library/Logs and logged to that. It seems rather odd to me that there is a standard logging library that squirrels it away in an unknown place with no standard application that can access them.

And what of log cycling? Am I supposed to take some action to stop logs growing forever?

Implementation detail or not, I&#039;m curious where they end up on Leopard.</description>
		<content:encoded><![CDATA[<p>Okaayy&#8230; but are these log messages visible outside of you writing your own code to search them? I was expecting them to turn up somewhere in Console.app since that seems to show logs from all manner of applications, but nothing appeared until I opened my own file in ~/Library/Logs and logged to that. It seems rather odd to me that there is a standard logging library that squirrels it away in an unknown place with no standard application that can access them.</p>
<p>And what of log cycling? Am I supposed to take some action to stop logs growing forever?</p>
<p>Implementation detail or not, I&#8217;m curious where they end up on Leopard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-270604</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Wed, 22 Apr 2009 22:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-270604</guid>
		<description>&lt;p&gt;As I wrote in &lt;a href=&quot;http://boredzo.org/blog/archives/2008-01-20/why-asl&quot; rel=&quot;nofollow&quot;&gt;“Why ASL?”&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;You can search the log more easily, now that messages are no longer just text. (This was improved in Leopard, which uses a real database for the log storage; Tiger used a text-based log file.)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Before you ask where that database is: It&#039;s an implementation detail, as I wrote in &lt;a href=&quot;http://boredzo.org/blog/archives/2008-01-23/asl-searching&quot; rel=&quot;nofollow&quot;&gt;“Searching”&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;[The database] file is not guaranteed to always be in the same place, and it didn&#039;t even exist in Tiger (it was a plain-text log file instead).&lt;/p&gt;&lt;/blockquote&gt;

</description>
		<content:encoded><![CDATA[<p>As I wrote in <a href="http://boredzo.org/blog/archives/2008-01-20/why-asl" rel="nofollow">“Why ASL?”</a>:</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>You can search the log more easily, now that messages are no longer just text. (This was improved in Leopard, which uses a real database for the log storage; Tiger used a text-based log file.)</p>
</blockquote>
<p>Before you ask where that database is: It&#8217;s an implementation detail, as I wrote in <a href="http://boredzo.org/blog/archives/2008-01-23/asl-searching" rel="nofollow">“Searching”</a>:</p>
<blockquote cite="http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-"><p>[The database] file is not guaranteed to always be in the same place, and it didn&#8217;t even exist in Tiger (it was a plain-text log file instead).</p>
</blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file/comment-page-1#comment-270417</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 22 Apr 2009 13:19:06 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2008-01-22/asl-logging-to-a-file#comment-270417</guid>
		<description>I don&#039;t understand where the logging actually pops out if you use the defaults. I&#039;m presuming that the standard procedure is to pick a file name in ~/Library/Logs, call open(...., WRONLY&#124;CREAT&#124;APPEND..) and add that file descriptor to the log. But all this talk of &quot;client connections&quot; makes it sound as if the output will be squirrelled away somewhere by default. But if it is, I can&#039;t figure out where.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t understand where the logging actually pops out if you use the defaults. I&#8217;m presuming that the standard procedure is to pick a file name in ~/Library/Logs, call open(&#8230;., WRONLY|CREAT|APPEND..) and add that file descriptor to the log. But all this talk of &#8220;client connections&#8221; makes it sound as if the output will be squirrelled away somewhere by default. But if it is, I can&#8217;t figure out where.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.182 seconds -->

